mcaden
14-03-2009 18:06:38
I made a release for my texture painter, 'Squamster' and it ran fine in XP - tested on multiple machines. I get on a vista machine and it crashes horribly. After making sure all the redistributables were installed it still crashed. I ran dependency walker and it said it still couldn't find the vcredist. After repairing, reinstalling, manually adding the PATH, everything it still couldn't find it. Eventually I copied the DLLs straight into c:\windows\system32 from my visual studio 2008 redist directory and it found it! So I finally got past the DLL issue only to find this:
The last line throws and AccessViolationException.
This is on Vista only. It runs fine on XP on every machine I've tested so far. Any ideas? It makes no sense to me why this would crash, especially since previous versions ran fine on Vista.
mRoot.Initialise(false, "Squamster");
Mogre.NameValuePairList misc = new Mogre.NameValuePairList();
misc["externalWindowHandle"] = this.splitContainer1.Panel1.Handle.ToString();
mWindow = mRoot.CreateRenderWindow("Main RenderWindow", 800, 600, false, misc.ReadOnlyInstance);
The last line throws and AccessViolationException.
This is on Vista only. It runs fine on XP on every machine I've tested so far. Any ideas? It makes no sense to me why this would crash, especially since previous versions ran fine on Vista.