Yes, that’s true.
If you insist on having a char*
parameter, call CreateProcessA
instead of CreateProcess
. Otherwise, make path
an LPWSTR
too and bring your program into this millenium.
solved char* incompatible with parameter of LPWSTR for C++ [duplicate]