Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Windows 7 #157

Open
Xinnony opened this issue Dec 22, 2021 · 1 comment
Open

Crash on Windows 7 #157

Xinnony opened this issue Dec 22, 2021 · 1 comment

Comments

@Xinnony
Copy link

Xinnony commented Dec 22, 2021

Hi,
I have a crash on windows 7 with FluentWPF.

See the log :

System.DllNotFoundException: Impossible de charger la DLL 'shcore.dll': Le module spécifié est introuvable. (Exception de HRESULT : 0x8007007E)
at SourceChord.FluentWPF.AcrylicWindow.GetDpiForMonitor(IntPtr hMonitor, MONITOR_DPI_TYPE dpiType, UInt32& dpiX, UInt32& dpiY)
at SourceChord.FluentWPF.AcrylicWindow.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

I thinks is same problem of this program : dnGrep/dnGrep#372
Probably fixed in : dnGrep/dnGrep@0a73387

In my code i just have :

<Window ...
        xmlns:fw="clr-namespace:SourceChord.FluentWPF;assembly=FluentWPF"
        fw:AcrylicWindow.Enabled="True"
        fw:AcrylicWindow.FallbackColor="#222222"
        fw:AcrylicWindow.NoiseOpacity="0"
        fw:AcrylicWindow.ExtendViewIntoTitleBar="True"
        ui:WindowHelper.UseModernWindowStyle="True"
        ui:TitleBar.IsIconVisible="True"
        ...>
...
</Window>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant