What's with LPWSTR, LPCSTR, LPCTSTR etc?
I want a lousy string...
Actually, in this particular instance I want
But it says open needs to be a LPWSTR, and the executable path needs to be something else... and that's fine, I can cast them easily, but when I'm looking at example code online no one is doing that, so I was wondering, how are they doing it?
I want a lousy string...
Actually, in this particular instance I want
Code:
ShellExecute(NULL, "open", "C:\\boo\\foo\\yar.exe", NULL, NULL, SW_SHOWNORMAL);
But it says open needs to be a LPWSTR, and the executable path needs to be something else... and that's fine, I can cast them easily, but when I'm looking at example code online no one is doing that, so I was wondering, how are they doing it?