Okay, trying to compile followong code i get the three (also) follownig messages from my IDE.
#include "windows.h"
#include "shellapi.h"
int _tmain(int argc, _TCHAR* argv[])
{
SHELLEXECUTEINFO shExecInfo;
shExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
shExecInfo.fMask = NULL;
shExecInfo.hwnd = NULL;
shExecInfo.lpVerb = L"runas";
shExecInfo.lpFile = L"notepad.exe";
shExecInfo.lpParameters = NULL;
shExecInfo.lpDirectory = NULL;
shExecInfo.nShow = SW_MAXIMIZE;
shExecInfo.hInstApp = NULL;
ShellExecuteEx(&shExecInfo);
return 0;
}
Line 11 warning: converting to non-pointer type `ulong' from NULL
Line 13 error: cannot convert `const wchar_t[6]' to `const CHAR*' in assignment
Line 14 error: cannot convert `const wchar_t[12]' to `const CHAR*' in assignment