Windows
keeng2008
这个作者很懒,什么都没留下…
展开
-
学习Windows编程遇到的问题
#define WIN32_LEAN_AND_MEAN #include int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { MessageBox(NULL, "\tHello World!",转载 2016-02-15 14:21:33 · 496 阅读 · 0 评论 -
消息循环占用100%的cpu,添加sleep即可
#define WIN32_LEAN_AND_MEAN #include LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { PAINTSTRUCT paintStruct; HDC hDC; char string[] =原创 2016-02-15 14:22:35 · 1172 阅读 · 0 评论