Advertisement Jump to content


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


DirectX MFC Problem

This topic is 5889 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
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!


Check out my game demo and resume at

[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, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!