Archived

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

kitawolf

DirectX 8 Question

Recommended Posts

I''m creating a game using DirectX 8 and I am trying to get it to run on different machines. It will run on my PIII machine but when I try it on a PII or a Celeron machine the program crashes during initialization. I''ve tracked the problem down to the LPDIRECT3D8->CreateDevice() call. Like I said before it will work on one machine but not others. If anyone has any ideas as to why or how to fix the problem please let me know. kitawolf

Share this post


Link to post
Share on other sites
- What return code are you getting from CreateDevice() ?

- What does the debug output say (with the debug runtimes installed) ?


It''s most likely that the graphics card in the machine this fails on doesn''t support something you''re asking for when you create the device. Examples are: asking for hardware vertex processing when the graphics card doesn''t have hardware T&L, asking for a frame buffer or Z buffer format which won''t work, asking for a sample or present mode which won''t work on that particular hardware.

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
Thank You for the help guys! Your advice led me down the right path so now I can at least get the program to stop crashing on start-up. Thanks!

kitawolf

Share this post


Link to post
Share on other sites