摘要:
《StdioFileEx.h》// StdioFileEx.h: interface for the CStdioFileEx class.//// Version 1.1 23 August 2003. Incorporated fixes from Dennis Jeryd.// Version 1.3 19 February 2005. Incorporated fixes from Howard J Oh and some of my own.// Version 1.4 26 February 2005. Fixed stupid screw-up in code from 1.3. 阅读全文
摘要:
http://school.cnd8.com/c/jiaocheng/8353.htmMFC扩展DLL导出函数和变量的方法也十分简单,下面我们给出一个简单的例子。 我们在MFC向导生成的MFC扩展DLL工程中添加gobal.h和global.cpp两个文件: //global.h:MFC扩展DLL导出变量和函数的声明 extern "C" { int AFX_EXT_DATA total; //导出变量 int AFX_EXT_API add( int x, int y ); //导出函数 } //global.cpp:MFC扩展DLL导出变量和函数定义 ... 阅读全文