Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


using directX 9 SDK with dev-c++

Posted on 2003-03-27
Medium Priority
Last Modified: 2013-12-08
i need to know how to setup dev-c++ so i can use the directX 9 SDK with it. do i just link with some libs and include some headers or is it more complicated than that? i really wanna know how to do this and any help in the way of an answer, tutorial, or email telling me how at ironbob@swbell.net would be nice.
Question by:IronBob
  • 3
  • 2

Expert Comment

ID: 8224856
A description and files needed for DX8SDK compatibility  can be found here:

Unfortunately it is not just linking some libs, special libs have to be created, so maybe DX8 is sufficent?

Author Comment

ID: 8227787
well ya i guess ... but im getting a book soon that uses directX 2002 (9.0) and i dont know if any of the additional 9.0 features are used in the book.

Author Comment

ID: 8227791
also ... i was wonder something. i was looking at the examples and files and stuff and i didnt notice anything on directDraw really. is directDraw out or something in 9.0? whered it go?
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Accepted Solution

TGGC earned 80 total points
ID: 8229676
The DirectDraw Interface was not changed since DirectX7 (like DI was not changed from 8 to 9). The documentation can be found within the Direct7 SDK and samples can be found within Direct7 SDK and Direct8 SDK. However DDraw libs and headers are included within DirectX9 SDK, so any DDraw7 Interfaces can be used. When including ddraw.h it defaults to Version 7 via a "#define   DIRECTDRAW_VERSION 0x0700". You can even "define" to use an older version by yourself and that's true for any DX component.

As far as I know there are not that much new features in DX9 apart from the new shader language. But if you are a beginner you will have a quite hard time, because some names changed. Without experience and the DX8/9 docus it's impossible to find the new/old name when looking at code written by someone else.

Author Comment

ID: 8234091
ya ... im switching SDK's now. directX is cool and all but way too complicated. now im using Allegro, AllegroGL (OpenGL), and some other networking lib (GNE, HawkNL, Libnet ... havent decided yet). but eventually i might looking into directX. but now i dont see any reason i really need directX over allegro and openGL.

Expert Comment

ID: 9464642
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

571 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