Sign in to follow this  
magixts

DX6.1 SDK Samples - CreateDevice fail on display mode reported by EnumDisplayModes

Recommended Posts

Hi I'm having some trouble with a project that I'm working on that requires me to use the old DirectX 6.1 SDK. I soon realized that all display modes work except those using a resolution of 2560x1600 where D3D::CreateDevice returned DDERR_INVALIDOBJECT. 2560x1600 is the native resolution of my display and I've never experienced any problems running new games at this resolution. I checked the SDK samples for D3DIM and found out that all of them would fail the call to CreateDevice when the resolution was set to 2560x1600. Does anyone here know if this is some kind of limitation in DX6.1 backwards compability that it is not able to initialize a 3D device at this particular resolution or what could be the problem? I'm using a GeForce 8800GTX card on Windows XP with the latest drivers and DirectX 9.0c installed.

Share this post


Link to post
Share on other sites
Yes, all other wide-screen resolutions that my display support seem to work including 1280x800 which is half of 2560x1600.

Other wide-resolutions that I've tried are:
1280x720
1280x768
1280x800
1360x768
1600x900
1680x1050
1920x1080
1920x1200

Share this post


Link to post
Share on other sites
I'm not aware of there ever being any API-dictated limitations along these lines. Hardware and the drivers tend to be the source for these and the enumeration routines are your way of accessing this. Ultimately, if the drivers says no then D3D will say no and it's rarely the other way around.

You could try contacting the IHV for info, but as you're using tech from ~10 years ago I suspect they'll ignore you [headshake].

hth
Jack

Share this post


Link to post
Share on other sites
I can't find any info to help me from hours of googling either so I suppose I'll just have to let it be. As you say there's not a lot of support for tech that's 10 years old. Even finding a downloadable copy of the SDK took forever.

Thanks for your help and Happy New Year (although a bit late)!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this