PDA

View Full Version : Carbon events (again)


sealfin
2002.07.01, 06:00 AM
ok, I've currently got this code :


[...]
RunApplicationEventLoop();
// main loop starts here.
while(!quit)
{
statementX();
}
[...]


the problem is that statementX(); will never be executed til QuitApplicationEventLoop(); has been executed; is there an easier way to overcome this, other than to place the main loop statements into an event handler and call it every frame based on a timer?

OneSadCookie
2002.07.01, 07:13 AM
Nope.

sealfin
2002.07.01, 09:34 AM
oh well, short & not-so-sweet.

thanks OneSadCookie!