Enjoy 10% OFF* ALL PURCHASES STOREWIDE or enjoy 30% OFF items with a SKU number lower than 16000 & 30% OFF items from Runtime DNA.
Buy any "Newly Mad" or "Still Mad" and get an EXTRA 60% OFF**:
Star 2.0 Stellar Bundle • Callie 6 Pro Bundle • Toon Generations 2 Essentials for Genesis 3 • Karen 7 Pro Bundle • Captain Charisma for Genesis 3 Male
This is probably going to sound like a total noob question, but why doesn't the sprintf command work with the CSDK?
I included the library, so it should work. Is there possibly a setting I forgot to check in VS?
It works, sounds like a VS thing. I use it for debug stuff all the time.
sprintf_s(temp, 80, "releasing 0x%x used by 0x%x on thread 0x%x\n\0", &element;.element, usedBy, GetCurrentThreadId());
Oh, just noticed, i'm using sprintf_s.
Actually I just noticed what's wrong from the code you posted. I completely forgot to include "windows.h"!