Original Post
Hello all,
I have a very basic question. The first tutorial''s message loop looks like this:
if (PeekMessage(&msg,NULL,0,0,PM_REMOVE))
using the non-blocking PeekMessage(), not GetMessage(). Now why-o-why doesn''t the program use 100% cpu when I run it? The whole loop looks like while(1) {DoSomething();} but it is obviously blocking somewhere; but where? Thanks!
cheers,
roel