First of all a quick question: how do I get rid of the input indicator on the bottom of the screen of the PocketPC? I think it's accomplished with an API call, but its name escapes me...
Now, unto more important matter. I have a program that (yet) does not do anything except keep the standard message loop running inside of WinMain:
while ( GetMessage( &msg, NULL, 0,0 ) == TRUE ) {
TranslateMessage (&msg);
DispatchMessage(&msg);
}
return (msg.wParam);
There's some other 'fluff' such as initialisation of the program, but that's all generated by the AppWizard when making a 'HelloWorld' app.
For some bizzare reason, when I run the program, the CPU usage goes up to 100% and stays there 'till I kill it or (if I have key input handling) quit the program internally.
Any ideas as to why it's doing this?
Now, unto more important matter. I have a program that (yet) does not do anything except keep the standard message loop running inside of WinMain:
while ( GetMessage( &msg, NULL, 0,0 ) == TRUE ) {
TranslateMessage (&msg);
DispatchMessage(&msg);
}
return (msg.wParam);
There's some other 'fluff' such as initialisation of the program, but that's all generated by the AppWizard when making a 'HelloWorld' app.
For some bizzare reason, when I run the program, the CPU usage goes up to 100% and stays there 'till I kill it or (if I have key input handling) quit the program internally.
Any ideas as to why it's doing this?