home *** CD-ROM | disk | FTP | other *** search
- // UseAtlTrigArc.cpp : Defines the class behaviors for the application.
-
- #include "stdafx.h"
- #include "UseAtlTrigArc.h"
- #include "UseAtlTrigArcDlg.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
- // CUseAtlTrigArcApp
- BEGIN_MESSAGE_MAP(CUseAtlTrigArcApp, CWinApp)
- //{{AFX_MSG_MAP(CUseAtlTrigArcApp)
- //}}AFX_MSG
- ON_COMMAND(ID_HELP, CWinApp::OnHelp)
- END_MESSAGE_MAP()
-
- // CUseAtlTrigArcApp construction
- CUseAtlTrigArcApp::CUseAtlTrigArcApp()
- {
- }
-
- // The one and only CUseAtlTrigArcApp object
- CUseAtlTrigArcApp theApp;
-
- // CUseAtlTrigArcApp initialization
- BOOL CUseAtlTrigArcApp::InitInstance()
- {
- // Initialize OLE libraries
- if (!AfxOleInit())
- {
- AfxMessageBox("Unable to register OLE libraries.");
- return FALSE;
- }
-
- CUseAtlTrigArcDlg dlg;
- m_pMainWnd = &dlg;
- dlg.DoModal();
-
- return FALSE;
- }
-