hi,
i have a code line that want to open an exsiting html file
//Init ShellExecuteInfo :
shlExInfo.cbSize = sizeof (SHELLEXECUTEINFO);
shlExInfo.lpFile = strFileName.GetBuffer();
shlExInfo.lpParameters = NULL;
//Set flags and verb
shlExInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
shlExInfo.lpVerb = _T("open");
shlExInfo.lpDirectory = strDirName.GetBuffer();
shlExInfo.nShow = SW_SHOWNORMAL;
int iRet= (int)ShellExecuteEx (&shlExInfo);
it work fine on XP, and open IE with the file,
but on Windows Server 2003 R2 it doesn't open the IE but return a
success return value.
This is a service code, yes i check that the service allow to interact
with desktop.
another thing is that this server not display message box.
do you know any configuration seting to allow service to do so in
Windows Server 2003 R2