12 2009 档案

Visual C++ 使用 __declspec(dllexport) 从 DLL 导出 (到C#)
摘要:由于各种的原因, 如何把unmanaged 的 c++ DLL 转换成 managed C# 是一个问题。 方法有3个. Ø 使用.def文件 Ø 可以不用.def文件, 使用__declspec(dllexport)关键字, 特别是针对Visual C++编译器的时候 Ø 直接用MC++写 什么时候用.def文件? .def的意思是module-definition... 阅读全文

posted @ 2009-12-03 17:26 无法显示此网页 阅读(5605) 评论(0) 推荐(1)

Visual C++ 在windows 7 上预编译头错误unexpected precompiled header error, simply rerunning the compiler might fix this problem
摘要:Visual C++ 在windows 7 上预编译头错误unexpected precompiled header error, simply rerunning the compiler might fix this problem之前有人在win7上遇到了类似的错误,Error 1 fatal error C1859: 'Debug\CppDllExport.pch' unexpected ... 阅读全文

posted @ 2009-12-02 15:59 无法显示此网页 阅读(9343) 评论(4) 推荐(2)

导航