Solved

DirectX and Borland C++ Builder 3.0 Prof.

Posted on 1998-05-05
3
281 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 50 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

828 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