3
Answers

DllImport... Dll couldn't be found

Alexandr

Alexandr

16y
7.2k
1

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)