他人の空似自作物置場
AIManager.zip/src/main.cpp
#include <stdio.h>
#include "consts.h"
#include "network.h"
#include "zip.h"
#include "window.h"
//int main(void){
int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpszCmdLine,int nCmdShow){
HANDLE h = CreateMutex(NULL,FALSE,"AIManager");
if(WAIT_OBJECT_0 != WaitForSingleObject(h,0)){
CloseHandle(h);
return 0;
}
SetAppDir();
CAIListDialog dlg;
dlg.DoModal();
ReleaseMutex(h);
CloseHandle(h);
return 0;
}