异常:
Error 10 error LNK2019: unresolved external symbol [email protected] referenced in function "unsigned long __stdcall StartTheDotNetRuntime(void *)" ([email protected]@[email protected]) E:\C++\VC项目\NativeDll\NativeDll.obj NativeDll
解决措施: native.dll 头文件引用下加上:#pragma comment(lib, "mscoree.lib") 即可!
时间: 2024-11-10 08:08:49