Overview
| Artifact ID: | 4fb234706449fbd03f2f83f9b6897ead1bcade27 |
|---|---|
| Ticket: | 491789ffffffffffffffffffffffffffffffffff
setargv() doesn't support a unicode cmdline |
| User & Date: | nijtmans on 2010-11-19 22:34:18 |
Changes
- icomment:
Well, I thought the implementation was compete, because I was satisfied with MSVC++ only. I assumed that for mingw32 and cygwin this would be impossible, because support for the mWinMain/_wmain functions is not built in there. However, I discovered the existance of mingw-w64, whose guys implemented the -municode linker option, which does exactly what was required. Therefore my follow-up commit (HEAD 2010-11-17), which enhanced configure.in checking if there is a workong -municode option. This makes the unicode command line compiletely working with the latest mingw-w64 Then, noting that mingw32 and cygwin already have a workaround, not thrusting their crt implementation, I could use this trick for mingw32 and cygwin as well. Why not use the normal WinMain/main entry point, but throw away the command and just get it again using GetCommandLineW. This way we still can get the unicode commandline! That was my next follow-up commit (2010-11-18). So, now it's really complete!
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"