Jump to content
  • Advertisement


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



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

for some strange reason a call to direct3dcreate8 allways fails in my application if i ran another window than the main application window before making the call. that means, i implemented an intro which is shown in a new window. everything works well and i''m pretty sure i released every single interface and pointers but when i call direct3dcreate8 afterwards it fails (in fact it doesn''t only fail using my error routines but it crashes). to emphasize: the two parts (intro and main app) work fine each on their own, but if i try to run them after each other it crashes. i''ve allready gone mad on this and i''d really appreciate ANYTHING, no matter if it''s just a guess or hint or whatever PLEASE HELP ME!

Share this post

Link to post
Share on other sites
After your release call Sleep(100);
This is because you are using a COM interface and when you use the Release() you are sending a quei to COM and could take some time to process.

If it doesn´t works try with more time on the sleep call.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!