调试
zwmei
性格开朗,为人热情,爱学习,好亲朋,愿与广大江湖中人结识,煮酒论英雄。
展开
-
IntelliSense: #error 指令: Please use the /MD switch for _AFXDLL builds
由#error引起解决方法:修改如下设置:工程(Project)->属性(Properties)->配置属性(Configuration Properties)->c/c++->代码生成(Code Generation)->运行时库(Use run-time library)->多线程调试DLL(/MDd)选择DLL(/MD);原创 2012-03-22 10:04:05 · 7453 阅读 · 1 评论 -
C#调用VC dll 出现“System.BadImageFormatException”
namespace Hello_seesharp{ class Program { [DllImport("Read-WriteString.dll", EntryPoint = "Add", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl)]原创 2012-05-25 11:38:15 · 4618 阅读 · 1 评论