#108 No _TCHAR type is defined

closed-fixed
2002-01-28
2002-01-24
No

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

Discussion

  • Danny Smith

    Danny Smith - 2002-01-28
    • assigned_to: earnie --> dannysmith
    • status: open --> closed-fixed
     
  • Danny Smith

    Danny Smith - 2002-01-28

    Logged In: YES
    user_id=11494

    Thanks, I have added _TCHAR defines to tchar.h in winsup
    CVS.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks