First-chance exception at 0x06741201 in Project1.exe: 0xC0000005: Access violation reading location 0x0000177e.
A first chance exception of type 'System.AccessViolationException' occurred in SlimDX.dll
A first chance exception of type 'SampleFramework.DeviceCreationException' occurred in SampleFramework.dll
An unhandled exception of type 'SampleFramework.DeviceCreationException' occurred in SampleFramework.dll
Additional information: Could not create graphics device.
This exception occurs in the the InitializeDevice() method of the GraphicsDeviceManager class in the sample framework. The COM error code is -532459699. Of course, as soon as I switch back to the retail runtime everything is peachy. I realize that I'm running a beta operating system, so bugs are to be expected. I'm willing to switch back to Vista if nobody knows about this.
🔒 Locked
[SlimDX] Windows 7 + Debug Runtime = Cannot Create Device?
Advertisement
Original Post
Hey, I'm using the March SlimDX and sample framework with the 64-bit Windows 7 beta and latest nVidia drivers. I was hoping to move my project development over to Windows 7, but I've hit a snag. When I switch over to the debug DirectX runtime, device creation always fails. This will happen with both the 32-bit and 64-bit versions. This is what shows up in the debug console:
I forgot to mention that yes, I have the full March SDK installed (I'm switching runtimes with the control panel tool). I'm also trying to create a dx9 device.
It has worked for me in the past. So unless something changed in the March SDK, I don't know. I don't have Vista or XP installed right now to test it out on another OS.
Edit: I checked the CreateFlags being passed to create the device and don't see anything that mentions a debug device.
It has worked for me in the past. So unless something changed in the March SDK, I don't know. I don't have Vista or XP installed right now to test it out on another OS.
Edit: I checked the CreateFlags being passed to create the device and don't see anything that mentions a debug device.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement