win32程序呼出console方便调试
AllocConsole();
HANDLE hOutput = GetStdHandle(STD_OUTPUT_HANDLE);
unsigned long lgsize;
WriteFile(hOutput,buff,strlen(buff),&lgsize,0);
AllocConsole();
HANDLE hOutput = GetStdHandle(STD_OUTPUT_HANDLE);
unsigned long lgsize;
WriteFile(hOutput,buff,strlen(buff),&lgsize,0);