以下内容,我看了多篇文章,整合在一起,写的一个例子,关于dll工程的创建,请参考博客里另一篇文章:http://www.cnblogs.com/pingge/articles/3153571.html有什么不对的欢迎指正!!!1.头文件 1 //testdll.h 2 #ifndef _TESTDLL_H_ 3 #define _TESTDLL_H_ 4 5 #ifdef TESTDLL_EXPORTS 6 #define TESTDLL_API __declspec(dllexport) //这个修饰符使得函数能都被DLL输出,所以他能被其他应用函数调用 7 #else 8 #... Read More
posted @ 2013-06-26 17:46 瓶哥 Views(657) Comments(0) Diggs(0) Edit