Gibo
08-09-2006 13:22:14
Hi,
Was wondering if somebody could help.
I'm starting to wrap the OgreDotNet into a usercontrol, so that I can easily place the it on to several Windows forms.
I started with the DemoWinForms examples. So I created a UserControl and got it to invoke the app code, to init the 3D and get it to render some objects. This part is working well
The problem is that when I shut the application down I get the following error:
I can't seem to workout what the problem is. I've tried Root.Shutdown() but this had no effect..
Anybody got any ideas?
Thanks
Was wondering if somebody could help.
I'm starting to wrap the OgreDotNet into a usercontrol, so that I can easily place the it on to several Windows forms.
I started with the DemoWinForms examples. So I created a UserControl and got it to invoke the app code, to init the 3D and get it to render some objects. This part is working well
The problem is that when I shut the application down I get the following error:
An unhandled exception of type 'System.AccessViolationException' occurred in OgreDotNet.dll
Additional information: Attempt to read or write protected memory. This is often an indication that other memory is corrupt.
I can't seem to workout what the problem is. I've tried Root.Shutdown() but this had no effect..
Anybody got any ideas?
Thanks