Re: Are _T() and TEXT() macros equivalent?
- From: "Mihai N." <nmihai_year_2000@xxxxxxxxx>
- Date: Sun, 08 Apr 2007 01:57:39 -0700
The fact is we as MFC programmers need to deal with it, and the
.NET/Delphi people don't.
Like for instance Unicode. C++/MFC has to deal with it.
The Delphi programmers need not, because Delphi has no clue about it :-)
Ok, joking aside, we have to understand that the SDK had to jump thru all
kind of hoops for backward compatibility. Just read Raimond Chen's blog
to get a feeling of that.
I was many times tempted to say that this or that is crap, but thinking
of it, it's history, or reading that blog, made me realize that some
of the things have good reasons. Yes, it can be ugly, and look like crap,
but this is the price when you get an old OS and old API, and try to
get it working without breaking it to much.
..NET is new, does not have all that baggage. But also because it is new
there is a lot of stuff that cannot do. So one has to go to interop
more often than one would like.
And Delphi just refused to change. Avoid the pain by avoiding Unicode?
No thanks!
--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
.
- Follow-Ups:
- Re: Are _T() and TEXT() macros equivalent?
- From: David Ching
- Re: Are _T() and TEXT() macros equivalent?
- References:
- Are _T() and TEXT() macros equivalent?
- From: Martin
- Re: Are _T() and TEXT() macros equivalent?
- From: Mihai N.
- Re: Are _T() and TEXT() macros equivalent?
- From: David Ching
- Re: Are _T() and TEXT() macros equivalent?
- From: MrAsm
- Re: Are _T() and TEXT() macros equivalent?
- From: David Ching
- Re: Are _T() and TEXT() macros equivalent?
- From: Mihai N.
- Re: Are _T() and TEXT() macros equivalent?
- From: David Ching
- Are _T() and TEXT() macros equivalent?
- Prev by Date: Re: List control Korean Unicode Chars - No problem with managed code
- Next by Date: Re: List control Korean Unicode Chars - No problem with managed code
- Previous by thread: Re: Are _T() and TEXT() macros equivalent?
- Next by thread: Re: Are _T() and TEXT() macros equivalent?
- Index(es):
Relevant Pages
|
Loading