some more unused defines removed
This commit is contained in:
@@ -578,31 +578,6 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
|||||||
if(bQuit)
|
if(bQuit)
|
||||||
goto Clean;
|
goto Clean;
|
||||||
|
|
||||||
#if defined(NEEDED_COMMAND_ARGUMENT)
|
|
||||||
// 옵션이 없으면 비정상 실행으로 간주, 프로그램 종료
|
|
||||||
if (strstr(lpCmdLine, NEEDED_COMMAND_ARGUMENT) == 0) {
|
|
||||||
MessageBox(NULL, ApplicationStringTable_GetStringz(IDS_ERR_MUST_LAUNCH_FROM_PATCHER, "ERR_MUST_LAUNCH_FROM_PATCHER"), ApplicationStringTable_GetStringz(IDS_APP_NAME, "APP_NAME"), MB_ICONSTOP);
|
|
||||||
goto Clean;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(NEEDED_COMMAND_CLIPBOARD)
|
|
||||||
{
|
|
||||||
CHAR szSecKey[256];
|
|
||||||
CPostIt cPostIt( "VOLUME1" );
|
|
||||||
|
|
||||||
if( cPostIt.Get( "SEC_KEY", szSecKey, sizeof(szSecKey) ) == FALSE ) {
|
|
||||||
MessageBox(NULL, ApplicationStringTable_GetStringz(IDS_ERR_MUST_LAUNCH_FROM_PATCHER, "ERR_MUST_LAUNCH_FROM_PATCHER"), ApplicationStringTable_GetStringz(IDS_APP_NAME, "APP_NAME"), MB_ICONSTOP);
|
|
||||||
goto Clean;
|
|
||||||
}
|
|
||||||
if( strstr(szSecKey, NEEDED_COMMAND_CLIPBOARD) == 0 ) {
|
|
||||||
MessageBox(NULL, ApplicationStringTable_GetStringz(IDS_ERR_MUST_LAUNCH_FROM_PATCHER, "ERR_MUST_LAUNCH_FROM_PATCHER"), ApplicationStringTable_GetStringz(IDS_APP_NAME, "APP_NAME"), MB_ICONSTOP);
|
|
||||||
goto Clean;
|
|
||||||
}
|
|
||||||
cPostIt.Empty();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!CheckPythonLibraryFilenames())
|
if (!CheckPythonLibraryFilenames())
|
||||||
{
|
{
|
||||||
__ErrorPythonLibraryIsNotExist();
|
__ErrorPythonLibraryIsNotExist();
|
||||||
|
|||||||
Reference in New Issue
Block a user