you can't pass a constant string for the W version. from
[in, out] Pointer to a null-terminated string that specifies the command
line to execute. The maximum length of this string is 32K characters.
Windows 2000: The maximum length of this string is MAX_PATH characters.
The Unicode version of this function, CreateProcessW, will fail if this
parameter is a const string.
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
and CreateProcessA works. Any help is appreciated.