Hi,
I've got another prob (bug?):
Under Win98se my prog doesn't close correctly...
It looks like it does (the prog ends and everything seems ok), but when I open the task manager, my prog is still running !!!
It's a simple Win32 prog.
I've got this event receiver:
class MyEventReceiver : public IEventReceiver{
public:
virtual bool OnEvent(SEvent event){
if (event.EventType == EET_KEY_INPUT_EVENT
&& !event.KeyInput.PressedDown){
if(event.KeyInput.Key == KEY_ESCAPE){
device->closeDevice();
return true;
}
}
if (camera)
return camera->OnEvent(event);
return false;
}
};
and my prog closes as described in the tutorials:
.
.
.
while(device->run()){
driver->beginScene(true, true, SColor(255, R, G, B));
smgr->drawAll();
guienv->drawAll();
driver->endScene();
}
return !device->drop();
}
Under W2K it closes correctly...
Any idears ???
Program task doesn't close fully
-
Guest
-
Acki