Skip to main content
GameDev.net gamedev.net
🔒 Locked

DirectDraw Problems....

Started by GT70sgt Apr 24, 2004 at 3:44 PM 6 replies 450+ views
Original Post
GT70sgt
GT70sgt
I have been trying all day to learn how to use direct draw to start a 2d game...but every time I do anything it give me an error in compiling... I cant even get a window for direct draw to initalize...idk what I am doing wrong, but I know that it is something. can anyone help me out by telling me what to do with direct draw what I did was start out and opened borland...then included the ddraw.h file so I could use direct draw functions, and then I type in the code to intialize the window and everything and when I run, nothing happens, or it has an error... can someone show me what to put for the code and where to start in borland c++...because I dont have a clue what im doing and I really need some help getting started.. all of the tutorials that i found online were confusing and didnt tell me where to start..it just said put this code in...and in borland, you put it in and I either get an error or the form pops up and nothing happens.. someone plz help me get started, thanks much -- Jason C++ Programmer AIM - GT70sgt Lead Guitar in Distorted Play
C++ ProgrammerAIM - GT70sgtLead Guitar in Distorted Play
Atm97fin
Atm97fin
Use EasyGL. It hasn''t been testen with borland tho.

EasyGL - easy to use graphics library.
EasyGL - easy to use graphics library.
GT70sgt
GT70sgt
I dont want to learn to use easygl I want to learn to use direct draw...easygl is not going to help me with that...
C++ ProgrammerAIM - GT70sgtLead Guitar in Distorted Play
Larry Parker
Larry Parker
What version of Builder are you using? With version 4 & 5 there is a folder named ..\Examples\DDraw\ and there are 6 sample DirectX demos in there.

I hope that helps.
GT70sgt
GT70sgt
I have version 6
C++ ProgrammerAIM - GT70sgtLead Guitar in Distorted Play
Larry Parker
Larry Parker
I have up to version 5, so I don''t know about the example directory in 6. Did you look to see if the DDraw directory is there inside the examples directory?
GT70sgt
GT70sgt
yea, I found the ddraw tutorials and I am going to use them to start out, but there isnt enough for me to learn to make a game from, I guess i''l have to learn from there


C++ Programmer

AIM - GT70sgt

Lead Guitar in Distorted Play
C++ ProgrammerAIM - GT70sgtLead Guitar in Distorted Play

Topic Locked

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

Sign in to reply to this topic.