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

System.DllNotFoundException on Win7 #135

Open
whgfu opened this issue Jul 19, 2024 · 3 comments
Open

System.DllNotFoundException on Win7 #135

whgfu opened this issue Jul 19, 2024 · 3 comments
Labels
Windows Only on Windows

Comments

@whgfu
Copy link

whgfu commented Jul 19, 2024

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.<Photino_register_win32>g____PInvoke|1_0(IntPtr __hInstance_native)
at Photino.NET.PhotinoWindow.Photino_register_win32(IntPtr hInstance)
at Photino.NET.PhotinoWindow.<>c.<.ctor>b__309_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 MikeYeager added the Windows Only on Windows label Jul 19, 2024
@MikeYeager
Copy link
Collaborator

@whgfu Are you running 64-bit Windows 7?

@whgfu
Copy link
Author

whgfu commented Jul 22, 2024

@whgfu Are you running 64-bit Windows 7?

Yes,64 bit win7

@philippjbauer
Copy link
Member

Hi @whgfu, please use the Fusion Log Viewer to determine which DLL exactly creates the issue and provide this information to us. https://learn.microsoft.com/en-us/dotnet/framework/tools/fuslogvw-exe-assembly-binding-log-viewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Windows Only on Windows
Projects
None yet
Development

No branches or pull requests

3 participants