Jump to content
  • Advertisement
Sign in to follow this  

DirectX help please

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

I've been learning C++ for a while now, and have just downloaded the new DirectX SDK. And I have but one simple wish: to compile a few of the examples. I tried it in VC++ and DevC++ but that doesn't seem to work. I also tried Borland C++ builder (which someone told me was similar to VS.Net). I tried a tutorial but no success. I think I set up all the lib files etc up correctly but... Do I really need VS.Net for DirectX? If I do, does anyone know where I can download a trial or something (the link on msdn for the cd doesn't work). Or if anyone knows of a good tutorial or something it'd be greatly appreciated! Borland errors (for EmptProject aka SimpleSample) [C++ Warning] strsafe.h(6201): W8068 Constant out of range in comparison [C++ Error] crtdbg.h(52): E2451 Undefined symbol 'wsprintf_instead_use_StringCbPrintf_or_StringCchPrintf' [C++ Error] crtdbg.h(52): E2268 Call to undefined function '_T' [C++ Error] winmain.cpp(321): E2268 Call to undefined function '_CrtSetDbgFlag' [C++ Error] winmain.cpp(321): E2451 Undefined symbol '_CRTDBG_ALLOC_MEM_DF' [C++ Error] winmain.cpp(321): E2451 Undefined symbol '_CRTDBG_LEAK_CHECK_DF'

Share this post


Link to post
Share on other sites
Advertisement
Yup AFAIK you need either .NET Studio 2003 or the 2005 beta.

Try googling Visual Studio 2005...it should point you to a page on lab.msdn.microsoft.com

Secondly, you need to enable UNICODE in the compiler. You'll know how once you use a studio .NET product (the compiler error message will tell you how to do this).

hth,

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.

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

Sign me up!