Kwang1imsa
31-03-2011 03:25:43
Here is my code:
When I close the window, I get
I'm guessing this has something to do with closing the window. Any ideas?
while (SFMLWin.IsOpened() && !OGREWin.IsClosed)
{
SFMLWin.CurrentView.Move(camera);
SFMLWin.DispatchEvents();
WindowEventUtilities.MessagePump();
if (globalPressed)
{
OnKeyHold();
}
MainDraw();
}
When I close the window, I get
FatalExecutionEngineError was detected
The runtime has encountered a fatal error. The address of the error was at 0x61696c9e, on thread 0x3018. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.
I'm guessing this has something to do with closing the window. Any ideas?