Skip to main content
gamedev.net
🔒 Locked

DirectX MFC Problem

Started by Emin3m 1 reply 950+ views
Original Post
Emin3m
Emin3m
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?
HoozitWhatzit
HoozitWhatzit
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]
Emin3m
Emin3m
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.