Archived

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

I cant use Directx

This topic is 5148 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

Hi, I have d/l the dx9 managed sdk and i am having problems. I am working through the tutorials but my code wont compile. I know that my graphics card doesnt support dx9 but people here told me i could still use it. When i run my code i get this error Application has generated an exception that could not be handled. So i debug my code and the error occurs at this line device = new Device(0, DeviceType.Hardware , this, CreateFlags.SoftwareVertexProcessing , pres); and the error it gives me is encountered unhandled exception class Microsoft.Directx.Direct3D.NotAvailableException So this leads me to believe that it has something to do with my crappy card not supporting d3d 9. Is there any way to create a dx 8 device? This might not even be the problem because i am a total noob and just guessing. Anyway, thanks in advance Oh, i have a sis 650 integrated graphics chip with the latest drivers installed.It can play quake 3 nicely and i have had no other graphic problems

Share this post


Link to post
Share on other sites
Can you post what is in pres ? It could be that you request modes or flags that are not supported by your chip.
Recently there was someone here who had problems with creating a device, it turned out he specified a 32 bit backbuffer, but had a voodoo 3 which only supports 16 bit color.

Share this post


Link to post
Share on other sites