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
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