win32程序中調用控制檯程序

#include <Windows.h> #include <cstdio> #define ErrorShow(Msg) MessageBox(NULL,Msg,L"ErrorShow",MB_OK) void OnKeyProc(KEY_EVENT_RECORD k,HANDLE h) { WriteConsole(h, L"KeyEvent:", lstrlen(L"KeyEvent:"),
相關文章
相關標籤/搜索