摘要: 一.创建动态链接库 #ifndef DLL_IMPORT #define DLL _declspec(dllexport) #else #define DLL _declspec(dllimport) #endif #define COMP_C extern "C" COMP_C void DLL fun() { cout<<"this is test"<<endl; } HINSTANCE hIns =LoadLibrary("./testDll.dll"); typedef void (*lpfun) () 阅读全文
posted @ 2013-01-04 12:58 Lost_Heart 阅读(557) 评论(0) 推荐(0) 编辑