Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Using DirectX in XE3 (and up)


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
Jan Dijkstra

Posts: 206
Registered: 11/4/99
Using DirectX in XE3 (and up)  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 23, 2014 8:16 AM
I'm porting over my component library from CBuilder 5 to XE3, and right now I've converted my DirectX rendering component.

Under CBuilder 5 I was used to handle interfacing with direct X myself, by having the DirectX SDK installed and using the header files as provided by Microsoft. I even had to add in a tweak (using a #define) to make sure a sqrt routine that Microsoft has, but Cbuilder 5 did not, wouldn't cause a compile error.

I'm pleased to see that this is no longer needed in XE3, as it not only has the DirectX SDK headers, but they even compile without a single hitch.

However, while compiling works fine, linking does not. It can't find the DirectX entry points in any of the installed library files. I had to resort to manually adding the import libraries that I've created with IMPLIB for use in my CBuiilder 5 environment, that I pulled out of the system32 folder of my Windows XP installation.

My question is this: Why are the DirectX header files supplied with XE3, but the actual import libraries not? As it stands, XE 3 can't create a functioning application this way that makes use of DirectX, because the linker will fail.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02