异常:
Error 10 error LNK2019: unresolved external symbol _CLRCreateInstance@12 referenced in function "unsigned long __stdcall StartTheDotNetRuntime(void *)" (?StartTheDotNetRuntime@@YGKPAX@Z) E:\C++\VC项目\NativeDll\NativeDll.obj NativeDll
解决措施: native.dll 头文件引用下加上:#pragma comment(lib, "mscoree.lib") 即可!