jjm152
16-05-2010 06:21:21
Hello All,
First off, I admit to being fairly intermediate with VS. That aside, I've spent a few hours searching the forums here and trying various solutions to my problem, but to no avail - so I am attempting to ask for help directly!![Smile :)]({SMILIES_PATH}/icon_smile.gif)
My OS is Windows Vista. I have currently installed the Visual Studio 2008 SP1. I have also installed D3D9 on my system. I have checked my WINSXS directory for the VC80 debug dll's and they are present (albiet, the version number is .42 on the files... I did see the post about modifying the Policy file, but alas I don't HAVE a policy directory on my machine, so I'm at a bit of a loss there). I've also added the Mogre installation location (bin and Release) to my system path.
I can run the samples in OpenGL just fine, but whenever I attempt to use the D3D renderer or launch the Winforms sample I get a CTD with no message or anything hinting at a problem in the log.
When I try to build and launch the samples from the debugger I get all sorts of errors which leads me to believe that I need to tinker with the project configuration.
Regardless of that, I have been able to snag one error from a command window running one of the samples. Here is what it says:
Again, that same application works very nicely if I choose OpenGL as the renderer.
Any help getting this moving over here would be greatly appreciated. Thank you!
First off, I admit to being fairly intermediate with VS. That aside, I've spent a few hours searching the forums here and trying various solutions to my problem, but to no avail - so I am attempting to ask for help directly!
![Smile :)]({SMILIES_PATH}/icon_smile.gif)
My OS is Windows Vista. I have currently installed the Visual Studio 2008 SP1. I have also installed D3D9 on my system. I have checked my WINSXS directory for the VC80 debug dll's and they are present (albiet, the version number is .42 on the files... I did see the post about modifying the Policy file, but alas I don't HAVE a policy directory on my machine, so I'm at a bit of a loss there). I've also added the Mogre installation location (bin and Release) to my system path.
I can run the samples in OpenGL just fine, but whenever I attempt to use the D3D renderer or launch the Winforms sample I get a CTD with no message or anything hinting at a problem in the log.
When I try to build and launch the samples from the debugger I get all sorts of errors which leads me to believe that I need to tinker with the project configuration.
Regardless of that, I have been able to snag one error from a command window running one of the samples. Here is what it says:
Unhandled Exception: System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.
at Ogre.ResourceGroupManager.initialiseAllResourceGroups(ResourceGroupManager
* )
at Mogre.ResourceGroupManager.InitialiseAllResourceGroups() in d:\devel\gamed
evel\mogre\main\src\auto\mogreresourcegroupmanager.cpp:line 385
at Mogre.Demo.ExampleApplication.Example.LoadResources() in c:\MogreSDK\Sampl
es\ExampleApplication\Example.cs:line 453
at Mogre.Demo.ExampleApplication.Example.Setup() in c:\MogreSDK\Samples\Examp
leApplication\Example.cs:line 82
at Mogre.Demo.ExampleApplication.Example.Go() in c:\MogreSDK\Samples\ExampleA
pplication\Example.cs:line 51
Again, that same application works very nicely if I choose OpenGL as the renderer.
Any help getting this moving over here would be greatly appreciated. Thank you!