On 15 Jan 2006 10:06:51 GMT, "Chris Uppal"
<chris.uppal@metagnostic.REMOVE-THIS.org> wrote, quoted or indirectly
quoted someone who said :
>Roedy, if you don't know the answer then don't just /guess/., The
>above is bad advice in several different ways.
If you think my answer is wrong. please give the right one, or at
least explain how it was wrong.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
res7cxbi@verizon.net - 15 Jan 2006 18:06 GMT
What about TCHAR? Can i use that?
Chris Uppal - 16 Jan 2006 12:22 GMT
> What about TCHAR? Can i use that?
Please quote appropriately from the message to which you are replying. If your
newsreader is so broken that it is difficult to do that (e.g. if you have been
so mislead by Google as to suppose that Usenet is part of Google) then do it by
hand or -- a far better idea -- get a proper newsreader.
I do not normally reply to authors who cannot be bothered to learn, or are so
clueless not to have noticed the existence of, basic Usenet etiquette. On this
occasion, however, having got that off my chest, I may as well carry on and try
to answer what I guess is your question.
TCHAR is part of the MS infrastructure for hiding the difference between 8-bit
characters and 16-bit characters. It's a bit of a hack (actually, it's a hack
from bottom to top), but it does work moderately well. In this case you don't
/want/ to hide the difference, since you are definitely working with 16-bit
unsigned quantities so I suggest that using TCHAR is actively wrong since TCHAR
can expand to char or wchar_t depending on the compilation environment.
-- chris