Page 1 of 1

Why TCHAR?

PostPosted: Aug 8, 2003 @ 12:06am
by Dranith

PostPosted: Aug 8, 2003 @ 2:02am
by superman

PostPosted: Aug 8, 2003 @ 2:05am
by CpuWhiz105

PostPosted: Aug 24, 2003 @ 11:15pm
by Justt

PostPosted: Aug 25, 2003 @ 6:25am
by mlepage
The TCHAR macro is typically char on PC, wchar_t on Pocket PC.

The _stprintf macro is typically sprintf on PC, wsprintf on Pocket PC.

They are just macros and typedefs, so I suppose you could use TCHAR on Pocket PC and use wsprintf directly.

It's probably best to either use the generic text macros and typedefs (if you want portability), or to not use them if you don't.

PostPosted: Aug 25, 2003 @ 7:49pm
by Dan East