Overview
| Artifact ID: | 460dfcd09f71050100eb1b2691c62d2849c0952d |
|---|---|
| Ticket: | 459115ffffffffffffffffffffffffffffffffff
_MBCS,_UNICODE,Tcl_WinUtfToTChar abuse! |
| User & Date: | davygrvy on 2001-09-07 03:31:34 |
Changes
- icomment:
Logged In: YES user_id=7549 I haven't read through the code yet, <blush>, but TCHAR is one of special entity things. I just finally got TCHAR properly declared for both Borland and MinGW. I'm a little nervy about this whole TCHAR thing as the Tcl headers need it declared before windows.h is included and for the oddest reason, we leave an unexpanded TCHAR as a return type to Tcl_WinUtfToTCharTcl(). I'm just rather touchy about TCHAR right now. It's a bug waiting to happen... "I tried to use Tcl in my NT service that's a unicode application (wmain) and Tcl_WinUtfToTChar() is giving me the wrong data. I thought I'd get 16-bit unicode chars, but got MCBS instead. Why's this? Is there a bug?" I think my concept of TCHAR is off. I'll read up some more.
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"