Original Post
hi i'm using the 'D3DFont.cpp/D3DFont.h' from Microsoft to display any text in my game. i have now written a new game kernel, that works with visual studio 2005, because the old one didn't :) i now wanted to include the file and draw some text to the screen, but there's a problem, the Function 'DrawTextScaled' now wants the text in a const TCHAR pointer, but i always had just a char pointer for my text to be stored, how can i change this now? i'm using sprintf(...) to write the data to be displayed in the buffer, but this function doesn't accept TCHAR, is there something similar to it, but also accepting TCHAR? would appretiate it, if there was one ;)