programs:extrac32 Add new program (Extrac32.exe) (Pre alpha version :))

Kirill K. Smirnov lich at
Thu Jul 5 06:57:32 CDT 2007


> +MODULE    = EXTRAC32.exe
It is very unusual to have upper-case name of exe file

>    WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE),"Run Wine Extrac32.
\n",strlen("Run Wine Extrac32.\n"),NULL,NULL);

The utility is compiled as UNICODE (EXTRADEFS = -DUNICODE), thus WriteConsoleW 
is used, but here MultiByte string is passed. As expected, it does not work.

Moreover, if output is redirected to file, it does not work, since 
WriteConsole can be used only with real console. msvcrt printf is better from 
this point of view, but it does not suit us, see bug #8598 and bug #8554.

Currenly working solution is implemented in cmd.exe (and msdn recommends this:


More information about the wine-devel mailing list