Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DirectX and Borland C++ Builder 3.0 Prof.

Posted on 1998-05-05
3
Medium Priority
?
308 Views
Last Modified: 2010-04-10
I asked the question wrong maybe last time, so here we go again.  I know that  you need to link the DirectX lib's and inc's to Borland, but I don't remember how to do that.  Could anyone tell me how to do that.  I took awhile off from doing any projects in DirectX and know I don't remember how to even link the libraries.  Thanks for hte help.
Etrain
0
Comment
Question by:Etrain
  • 2
3 Comments
 
LVL 7

Expert Comment

by:galkin
ID: 1173217
You need to include ddraw.h and link your project with ddraw.lib
0
 

Author Comment

by:Etrain
ID: 1173218
How do you link them is what I am asking, sorry if that wasn't clear...
0
 
LVL 7

Accepted Solution

by:
galkin earned 200 total points
ID: 1173219
You must include ddraw.h file in source(.c or .cpp) file where you are using ddraw function, i.e. DirectDrawCreate etc. This is needed to compile sourec file. Then you need to add ddraw.lib to your project to successfully link your project
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question