Sign in to follow this  
ryan20fun

For Some Reason This Is AllWays Failing

Recommended Posts

ryan20fun    2635
Hi EveryBody.

ive made a runtime linked dll that is to impliment a graphics API through a interface defined by another dll.
it has been working good uptill about an hour ago, im not shure what i did, but now it cannot create the D3D9 device.

so i would like it if some one could have a look at the code( approx 750 lines ), see if they spot anything that ive missed.
the problem seams to be from the "SetUpDevice" Method, now this method uses another method( "PF_checkformatsupport_LOOP" ) to loop through avaliable D3D Formats and see if any are suitable.

im just had enough of this problem now, so im proberbly going to slowly by slowly rewrite the class to see if that will fix anything.

[url="http://dl.dropbox.com/u/30790443/code.rar"]here[/url] is a link to the D3D9 implimentation.

Thanks In Advance.

---edit---
it seams that when ever i ask i question, i seam to find out more or less what the actual problem is.
the problem appears to be finding an appropriate format.

anybody know a good way to find a supported format ?

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