Lucy Ludmiller wrote:
>
If you sure that you're never going to do a Unicode build, you *can*,
but that doesn't mean you should. Instead of a const char*, LPCTSTR is
actually a pointer to a TCHAR, which changes depending on your build.
To be safe you should always use the _tcs variants of string functions.
Typically you just replace the prefix "str" with "_tcs", e.g.:
strcmp --_tcscmp
strlen --_tcslen
And so on.
Cheers
Ray