I am writing a small C++ program which gets as input from the program command line, a string to later be passed to another function.
The problem is that this function expects to get a LPWSTR (wchar_t*
) type variable, and the regular char** argv
is an array of elements from the type of char*
.
Is there any way to get the argv variable as a LPWSTR*
type?
Thanks