Jump to content
  • Advertisement

Archived

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

Emin3m

DirectX MFC Problem

This topic is 5731 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! My problem is the following : I created a Doc/View window using mfc ,and created a child window in the view. In this child window I inicialized DirectDraw 7. I tested the code on 2 pc-s. On the one it just ran fine ,but on the other one it''s very slow. It seems to be a problem with dx, because if I disable it, it is running normal. Could some of you guys help me with this?

Share this post


Link to post
Share on other sites
Advertisement
I'm just starting out with MFC-DirectX hybrids myself, so I probably can't help you much. I am curious about the problem you've encountered, though.

Are you making any DirectX rendering calls yet, or are you simply initializing DirectDraw and doing nothing else?

By the way, you probably know this already, but if you're making a game, you should avoid using MFC (I assume that you're making a tool program, like me). MFC will slow down your game and make it a pain to program!

--Hoozit.

----------------------
Check out my game demo and resume at
www.fivestory.com/projects/game.

[edited by - HoozitWhatzit on December 6, 2002 2:14:36 AM]

Share this post


Link to post
Share on other sites
Hi !

No ,I''m not making any rendering calls. I Just Initialize DirectDraw. I want to write a level editor for my game (of course I dont use mfc for the game itself [you are right it''s realy a pain to program...])
Realy weird problem.

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!