摘要: vs c++ 动态库、静态库的创建与调用生成动态库、静态库一、 DLL项目的创建1.创建项目:菜单“文件"--->新建--->项目项目类型:win32控制台应用程序Win32应用程序向导--->应用程序类型:DLL--->附加选项:空项目--->完成二、添加类1.添加头文件:test.hnamespace myLib{ class myDll { public : // Returns a + b static __declspec(dllexport) double Add(double a, double b); // Returns a - b s 阅读全文
posted @ 2013-07-13 20:00 mutou3221 阅读(611) 评论(0) 推荐(0) 编辑