#include "stdafx.h" #include "testApp.h" #include "testAppDlg.h" /************************************************************************/ // Test APP for testing a ftp connection /************************************************************************/ CTestAppApp theApp; BEGIN_MESSAGE_MAP(CTestAppApp, CWinApp) //{{AFX_MSG_MAP(CTestAppApp) //}}AFX_MSG ON_COMMAND(ID_HELP, CWinApp::OnHelp) END_MESSAGE_MAP() /************************************************************************/ CTestAppApp::CTestAppApp() { } /************************************************************************/ BOOL CTestAppApp::InitInstance() { CTestAppDlg dlg; m_pMainWnd = &dlg; int nResponse = dlg.DoModal(); if (nResponse == IDOK) { } else if (nResponse == IDCANCEL) { } return FALSE; }