This commit is contained in:
2013-09-05 05:06:37 +00:00
parent a5fc2f3da6
commit 1c2c65a348
7 changed files with 92 additions and 20 deletions

View File

@@ -28,6 +28,7 @@ LONG CVCOptModule::Lock()
AfxOleLockApp();
return 1;
}
LPCTSTR CVCOptModule::FindOneOf(LPCTSTR p1, LPCTSTR p2)
{
while (*p1 != NULL)
@@ -144,7 +145,7 @@ BOOL CCPRobotApp::InitInstance()
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCtrls.dwICC = ICC_COOL_CLASSES;
InitCtrls.dwICC = ICC_STANDARD_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinAppEx::InitInstance();
@@ -179,3 +180,16 @@ BOOL CCPRobotApp::InitInstance()
// 반환합니다.
return FALSE;
}
int CCPRobotApp::ExitInstance()
{
// TODO: Add your specialized code here and/or call the base class
if (m_bATLInited)
{
_Module.RevokeClassObjects();
_Module.Term();
CoUninitialize();
}
return CWinAppEx::ExitInstance();
}