Jump to content
  • Advertisement
Sign in to follow this  

Directx PlatformSDK compatability

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

Hey, I'm new to the whole C++ DirectX thing but hoping to get stuck in. I downloaded Visual C++ Express, The latest PlatformSDK and Directx9. I've spent most of today trying to get my hands on the ddutil.h and ddutil.cpp files as I noticed them being used in a number of examples. I managed to track the files down on a site (they no longer appear to be a part of the DirectX download), but they now seem to be out of sync with the latest PlatformSDK: the DDLoadPalette function uses FindResource from winbase.h, this now uses a LPCWSTR for the path name of the BitMap not a LPCSTR like DDLoadPalette tries to pass through. I'm sure there are ways to tinker around to get this to work, but I'd prefer to have the correct versions of software that I know are going to compile and work together to get me going. Anyone able to point me in the rigt direction to a download site for a DirectX version and a PlatformSDK version that fit together nicely, and hopefully a copy of ddutil.h and .cpp that work too ;) I'm not getting far with loading the bitmap on the screen and not sure if this is because of incompatibility. It'd be nice to remove that from the equation. Also, I can't find any examples of how people actually pass the bitmap through to the DDLoadPalette and DDReloadBitmap functions; is the path simply 'c:/directorylocation/bitmap.bmp'? Or is there a better way using the .rc file. Thanks for your time Paul

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!