[PATCH 3/6] CMD.EXE: Handle command line as Unicode

Dmitry Timoshkov dmitry at codeweavers.com
Sun May 27 23:56:08 CDT 2007

"Ann & Jason Edmeades" <us at edmeades.me.uk> wrote:

> Compile error was:
> ../../tools/winegcc/winegcc .....
> ../../dlls/winecrt0/libwinecrt0.a(exe_main.o): In function `main':
> /home/wine/wine/dlls/winecrt0/exe_main.c:48: undefined reference to
> `WinMain'
> Does wine support this? I initially did it this way copying from
> programs/msiexec

Have a look at programs/uninstaller/main.c. Most likely you need to
add -municode to APPMODE switches in Makefile.in.


More information about the wine-devel mailing list