Jump to content
  • Advertisement

Archived

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

red_sodium

Using the D3DX library

This topic is 5224 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

Hi, I''m having trouble with using the D3DX library with Borland C++ Builder. I have the library files specific to it, but I''m missing something for D3DX9 as I can use D3D9, but when i include d3dx9.h i get several errors in d3dx9math.inl, including "undefined symbol ''UINT_PTR'' ". Does anyone know what I can do to get D3DX9 to work with BCB, or does anyone have the correct files for this to work? Thanks very much for any help, it''s much appreciated!

Share this post


Link to post
Share on other sites
Advertisement
Thanks, I already have these files, I can use D3D9 okay but I still can''t use the D3DX9 library. I get errors in d3dx9math.inl.

Can anyone help with this?

Share this post


Link to post
Share on other sites
I also took the DLLs Clootie''s site said I needed and put them in my Windows System folder, but do i need to link to them somehow or something?

Share this post


Link to post
Share on other sites
It turns out the problem is that my BCB library is too outdated (version 3 of Borland C++ Builder) and that I don''t have UINT_PTR defined. When I do define it (someone gave me the definition part), I get 2 errors.

I''m not too sure about typedef syntax, can anyone spot any errors without needing a context?

typedef _W64 int INT_PTR, *PINT_PTR;
typedef _W64 unsigned int UINT_PTR, *PUINT_PTR;

And the 2 errors are ", expected" for first line of code, and
"Too many types for declaration" on the second line.

I am very grateful for any help. As you can imagine, its a nightmare configuring DirectX9 for use with Borland C++ Builder!

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!