/**////////////////////////////////////////////////////////////////////////////// class CTestBApp : public CWinApp { public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CTestBApp) public: virtual BOOL InitInstance(); virtualint ExitInstance(); //}}AFX_VIRTUAL //{{AFX_MSG(CTestBApp) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; BEGIN_MESSAGE_MAP(CTestBApp, CWinApp) //{{AFX_MSG_MAP(CTestBApp) // 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() CTestBApp theApp; BOOL CTestBApp::InitInstance() { _Module.Init(ObjectMap, m_hInstance, &LIBID_TESTBLib); return CWinApp::InitInstance(); } int CTestBApp::ExitInstance() { _Module.Term(); return CWinApp::ExitInstance(); } /**//////////////////////////////////////////////////////////////////////////////