如何在C#项目中加载DLL
错误:
无法加载DLL 'Reader.dll':找不到指定的模块。(HRESULT异常代码:0x8007007E)
代码示例:
[DllImport("Reader.dll")]
public static extern byte OpenReader(ref IntPtr hCom, byte LinkType, string com_port);
image:
如何在C#项目中加载DLL
错误:
无法加载DLL 'Reader.dll':找不到指定的模块。(HRESULT异常代码:0x8007007E)
代码示例:
[DllImport("Reader.dll")]
public static extern byte OpenReader(ref IntPtr hCom, byte LinkType, string com_port);
image:
corflags application.exe /32bit+
版本号:v4.0.30319
CLR头文件:2.5
PE格式:PE32
CorFlags标志:3
ILONLY标志:1
32位标志:1
已签名:0