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

Dmitry Timoshkov dmitry at codeweavers.com
Tue May 15 23:28:09 CDT 2007


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

> int main (int argc, char *argv[])
> {
> +  LPWSTR *argvW = NULL;
> +  int     args;
> +  WCHAR  *cmdW  = NULL;

If you will start using wmain() instead of main() you get unicode args for
free, and that will help to avoid changing the command line parsing code.

-- 
Dmitry.



More information about the wine-devel mailing list