Colin Finck ha scritto:
I think that simply dropping support for ASCII
isn't the right way to go.
The whole thing mainly boils down on a decision between WCHAR and TCHAR, so
why not use TCHAR here? This shouldn't be a big deal.
Because you (yes, you) are not going to keep the promise you're making
by using TCHAR. It might be sooner, it might be later, one day you'll
have to interface with an Unicode-only API, and you can bet your ass you
will not have any conditional code or helper routine to convert from
LPTSTR to LPWSTR. Unless you are using ATL (you aren't)