tryphotino / photino.Native

https://tryphotino.io
Apache License 2.0
133 stars 47 forks source link

System.DllNotFoundException on Win7 #135

Open whgfu opened 1 month ago

whgfu commented 1 month ago

This program is directly compiled using a demo. Under. net8, the compiled program works normally on both win10 and win11, but win7 prompts System DllNotFoundException: Unable to load DLL 'Photino.Native' or one of its dependencies, But I can confirm that my directory contains Photino The Native.dll file.

May I ask how to handle this issue?

Application: HelloPhotino.NET.exe CoreCLR Version: 8.0.724.31311 .NET Version: 8.0.7 Description: The process was terminated due to an unhandled exception. Exception Info: System.DllNotFoundException: Unable to load DLL 'Photino.Native' or one of its dependencies: 找不到指定的程序。 (0x8007007F) at Photino.NET.PhotinoWindow.g__PInvoke|1_0(IntPtr __hInstance_native) at Photino.NET.PhotinoWindow.Photino_register_win32(IntPtr hInstance) at Photino.NET.PhotinoWindow.<>c.<.ctor>b309_0() at Photino.NET.PhotinoWindow.Invoke(Action workItem) at Photino.NET.PhotinoWindow..ctor(PhotinoWindow parent) at HelloPhotinoApp.Program.Main(String[] args) in C:\Users\bimvr\Desktop\tmp\MyPhotinoApp\Program.cs:line 70

MikeYeager commented 1 month ago

@whgfu Are you running 64-bit Windows 7?

whgfu commented 1 month ago

@whgfu Are you running 64-bit Windows 7?

Yes,64 bit win7