--- Daodan/src/guitest.c 2014/04/02 00:48:54 990 +++ Daodan/src/guitest.c 2014/04/05 10:19:11 992 @@ -2,7 +2,7 @@ LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); -guitest(HMODULE hInstance, int nCmdShow) +void guitest(HMODULE hInstance, int nCmdShow) { MSG msg; HWND hwnd; @@ -30,8 +30,6 @@ guitest(HMODULE hInstance, int nCmdShow) while( GetMessage(&msg, NULL, 0, 0)) { DispatchMessage(&msg); } - - return (int) msg.wParam; } LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)