PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

platform dependency (i didnt see it coming i swear)

BurningScrappy · 09 Jan 2003, 22:08 UTC
I just finished my first game and decided to make a demo for the PC. So I load everything up in MSVC++ and get a move on. Compilation errors though with all my _itow and _wstrcpy calls, I used TCHAR for all the strings and thought that would take care of the problem when I ported, but I get "cannot convert char xxx[10] to unsigned short *" do I need to go througha nd typecase things or is there a different set of itow() and wstrcpy() functions that take TCHAR under MSVC++?

TIA
I use the _tc* string functions and they compile and work fine in both compilers. There are some preprocessor flags that control some of these. Check if you have _UNICODE set, and try removing it.