Re: L macro

Tech-Archive recommends: Fix windows errors by optimizing your registry



I didn't say another OS uses it. I said we use it in order to target
other OSes, and more specifically Mac OS X. And even more
specifically, we define TCHAR to char on Mac OS X. It is based
on UTF-8 after all...

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================

"Ulrich Eckhardt" <eckhardt@xxxxxxxxxxxxxx> wrote in message
news:g7fqp4-gcd.ln1@xxxxxxxxxxxxxxxxxxxxxxxxx
Alexander Nickolov wrote:
Actually, unless you are targeting non-Microsoft OSes, you
don't need to use TCHAR any longer these days.

Which non-MS OS uses TCHAR? I would have agreed if you had said that you
can
drop TCHAR if you don't support legacy Windows versions like 98/95.

Assuming you don't care for supporting Win 9x, which is a pretty
moot point by now.

Full ACK.

Uli



.



Relevant Pages

  • Re: Size of pointers
    ... BTW, mbstowcs is wrong - it's not going to work in UNICODE ... Microsoft MVP, MCSD ... // I tried sizeofbut that gives me the size of the TCHAR. ... // Call FormatMessage() to allow for message text to be ...
    (microsoft.public.win32.programmer.networks)
  • Re: tchar char
    ... TCHAR and UNICODE defined can speed your executable ... Microsoft MVP, MCSD ... > project which has a mix up of char and tchar usage. ...
    (microsoft.public.vc.atl)
  • Re: Opinion on coding style.
    ... Microsoft MVP, MCSD ... DWORD and TCHAR are figments of your imagination, ... They are *not* intrinsic to the language. ...
    (microsoft.public.vc.language)