#include "stdafx.h"

int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow )
{

SYSTEMTIME tm,oo;
GetLocalTime(&tm);
int start=tm.wMinute;
char s[80];
int iRet;
bool limit=true;

while(limit){
GetLocalTime(&oo);
if(oo.wMinute-start>1){limit=false;}
}
lstrcpy(s,"献金してください");
iRet=MessageBox(NULL,s,"MsgBox",MB_OK);
return 0;
}
ひどいコードだ、CPU100%使い切るコードだ
久々でAPIも関数も忘れた・・・タイマーっていうかスレッドってどうやるんだ?