• Advertisement

Archived

This topic is now archived and is closed to further replies.

DX7 - D3DXGetDeviceCount() crash

This topic is 6688 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I manually forced the device count variable to be 1, and now the Sprite example crashes on the next D3DX library call (D3DXGetDeviceCaps).

The same programs work fine on my laptop (which, ironically, has no 3D acceleration hardware), and the D3DXInitialize() call works fine, so I'm thinking the D3DX library still need some debugging by Microsoft. It bums me out, because I really wanted to use it.

-Evil

Share this post


Link to post
Share on other sites
Advertisement
I thought the problem may have been caused by some D3DX incompatibility with the detonator reference drivers, so I tried switching to the manufacturers latest drivers (Diamond Viper 550).

No such luck. It's still exploding with the same invalid page faults.

Share this post


Link to post
Share on other sites
I have a workaround, but I'm not happy with it.

I found that if I completely disable the ATI graphics board in the registry, the D3DX samples now run.

I'm going to report this as a bug to MS.

Share this post


Link to post
Share on other sites
My main development system has two display adapters. I use the nVidia Riva TNT card (and latest Detonator Reference Drivers), and don't even have a monitor attached to the Rage LT Pro AGP 2x on the motherboard.

NONE of the DirectX 7 D3DX utility library examples will run. They crash hard whether I'm using the retail or debug files.

I recompiled and debugged one of them to find that the problem lies in the calls to D3DXGetDeviceCount(). This function causes unhandled exceptions. Anyone else seeing this with a TNT board?

Share this post


Link to post
Share on other sites

  • Advertisement