3
Reply

DllImport... Dll couldn't be found

Alexandr

Alexandr

Sep 12 2008 5:04 AM
7.2k

Hello, I'm trying to use P/Invoke to get function from MFC Dll.

[DllImport("Obstetrics.dll")]. But I've got an exeption (HANDLE:0x8007007E): Dll couldn't be found. The path is correct (even when I move dll to application's folder this problem happens). DllDependency say anything about errors. Help me please to solve this problem.


Answers (3)