Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

RapidFire

How do I use the DirectX SDK with Borland C++ Builder? (Guess v1.0)

This topic is 6413 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The title explains it all... I have downloaded the DirectX SDK, and I have Borland C++ Builder. Now I want to develop 2D games. (Like the old Zelda games) How do I do this? How do I use the DirectX SDK? What I need: Explanation: How to use the DirectX SDK Source: The source of a "game" (just a relatively simple code to check if the SDK works) Remember, it''s for Borland C++ Builder (I can''t find the version, so I guess it''s 1.0) Thanx in advance, Hans Roerdinkholder

Share this post


Link to post
Share on other sites
Advertisement
First thing is that you need to conver the DirectX libraries into libraries that C Builder can use. (implib32 will translate the COFF formatted libraries to OMF formatted)

Then add the header files and library files to the paths of the project that you are working on.

Form there you should be able to compile almost any basic DirectX program. If you want to use VCL forms with the DirectX, you can skip most of the window initialization code and just use the main form for message handling.

Or just upgrade to 3.0 or higher which comes with the DirectX libraries and headers set up for you, along with sample code.

Share this post


Link to post
Share on other sites
So this is what I need to do:


  • Copy the files in the dxsdk/lib to the directory of my game source files
  • Include these library files in the source
  • Build the game


Is that right?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!