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