// TESTDLL.cpp : Defines the initialization routines for the DLL. // #include "stdafx.h" #include "TESTDLL.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CTESTDLLApp BEGIN_MESSAGE_MAP(CTESTDLLApp, CWinApp) //{{AFX_MSG_MAP(CTESTDLLApp) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CTESTDLLApp construction CTESTDLLApp::CTESTDLLApp() { // TODO: add construction code here, // Place all significant initialization in InitInstance } ///////////////////////////////////////////////////////////////////////////// // The one and only CTESTDLLApp object CTESTDLLApp theApp; LPTSTR _fstrcpy( char FAR * string1, char FAR * string2 ); LPTSTR _fstrcpy(char FAR * string1, char FAR * string2 ) { return lstrcpy(string1, string2); }; #define DLLTYPE_NT #include "testdll2.cpp"