I have DarkGDK.NET,
Sometimes an InvalidOperationException is thrown when exiting a project.
It occurs either when the base class disposes;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
Either on the game loop, line : DarkGDK.Core.Sync();
while (DarkGDK.Engine.LoopGDK)
{
// Rotate our cube along it's Y axis
DarkGDK.Camera.DefaultCamera.ControlDefaultUsingArrowKeys(1, 1);
// Also, rotate our cube on all three axi
cube.Rotate(DarkGDK.IO.Mouse.X, 0, DarkGDK.IO.Mouse.Y);
// Tell DarkGDK.NET to render our default camera display
DarkGDK.Core.Sync();
}
I haven't been enable to reproduce it, since i rebooted it went away,
The exact error is this one :
http://msdn.microsoft.com/en-us/library/ms171728.aspx
More details : this was happening only when i pressed an input, if I run & close the project, no error is thrown. Also, when this error occured, the mouse wasn't recognised at all by the project.
OS Name Microsoft® Windows Vista™ Ultimate
Version 6.0.6001 Service Pack 1 Build 6001
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name THINKPAD
System Manufacturer LENOVO
System Model 6460D8G
System Type X86-based PC
Processor Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz, 2501 Mhz, 2 Core(s), 2 Logical Processor(s)
BIOS Version/Date LENOVO 7LETC1WW (2.21 ), 7/1/2008
SMBIOS Version 2.4
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume2
Locale United States
Hardware Abstraction Layer Version = "6.0.6001.18000"
Time Zone Romance Standard Time
Installed Physical Memory (RAM) 4.00 GB
Total Physical Memory 3.00 GB
Available Physical Memory 848 MB
Total Virtual Memory 7.40 GB
Available Virtual Memory 4.86 GB
Page File Space 4.50 GB