Solved

DirectX and Borland C++ Builder 3.0 Prof.

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now