This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug? No _TCHAR type is defined


Type _TCHAR is not defined in cygwin tchar.h header,
only TCHAR type. According to Microsoft documentation
type _TCHAR should be used for creating Unicode/ANSII
portable applications.

MBCS Survival Guide at
http://www.microsoft.com/globaldev/fareast/mbcssg.asp
 says:
"For ANSI conformance, the "official" type is _TCHAR.
In practice, either TCHAR or _TCHAR is acceptable."


See also "Using Generic-Text Mappings" at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_crt_using_generic.2d.text_mappings.asp

Thanks,
Andriy Palamarchuk

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]