I am trying to make a Windows app, but I have a problem. When I try to compile it, it gives me error "switch quantity not integer". I have defined it, but still it doesn't work. I'm making it with Dev-C++. Here's source code of function with problem:
If someone needs to see whole source I can put it here.
LRESULT CALLBACK ViestinKasittelija( HWND hWnd,
PostQuitMessage( 0 );
return DefWindowProc( hWnd, Viesti, wParam, lParam );
I posted this here, because I think this has nothing to do with making Windows-apps. But if someone thinks this belongs to Windows-forum, move this.