VC dll的调用技巧
摘要:
Dll2.cpp:int add(int a,int b){return a+b;}int substract(int a,int b){return a-b;}Dll2.def:LIBRARY D112EXPORTSaddsubstract正确调用:HMODULE hMod=LoadLibrary("Dll2.dll");typedef int (/*_stdcall*/ *MSGBOX)(in... 阅读全文
posted @ 2009-03-14 14:16 山径山精 阅读(392) 评论(0) 推荐(0) 编辑