Advertisement Jump to content
Sign in to follow this  
Idspispopd

[MDX?] Please help with use of .createsurface in external class (DD7)

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

Hello fellow developers. I'm used to programming small dx applications in both 2 and 3 dimensions, and because of the size of my apps and games, i decided not to use dlls or calls to any other homemade routines. But as i too started with a bigger engine, i saw the light of these methods, and i'm creating a class to control physics and graphics for my engine. I have a main application that calls routines in this dll, but i suddently found myself in a puzzling situation because i want to create a surface with a call to the dll, and i don't know how to pass the directdraw objects i already use. Creating a new dd object in the class doesn't work for me, i think it's because i already set a (wrong?) cooperativemode in my main application. I use DDraw7 and VB6, help will be appreciated, i'm really lost.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!