R
raj
Hi,
I want to execute an Exe file in minimize mode. but when i m trying the
following
SHELLEXECUTEINFO lpExecInfo;
memset(&lpExecInfo, 0, sizeof(SHELLEXECUTEINFO));
lpExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
lpExecInfo.lpFile = _T("\\Program
Files\\Nortel\\DMMVPN3100\\sbipsecGUI.exe");
lpExecInfo.lpParameters = _T("");
lpExecInfo.lpDirectory = _T("");
lpExecInfo.lpVerb = _T("open");
lpExecInfo.nShow = SW_MINIMIZE;
lpExecInfo.fMask = 0;
lpExecInfo.hwnd = this->m_hWnd;
lpExecInfo.hInstApp = AfxGetInstanceHandle();
ShellExecuteEx(&lpExecInfo);
The application starts but in normal/maximize mode. Ane guidence is
appreciable
Thanks in advance
Rajat
I want to execute an Exe file in minimize mode. but when i m trying the
following
SHELLEXECUTEINFO lpExecInfo;
memset(&lpExecInfo, 0, sizeof(SHELLEXECUTEINFO));
lpExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
lpExecInfo.lpFile = _T("\\Program
Files\\Nortel\\DMMVPN3100\\sbipsecGUI.exe");
lpExecInfo.lpParameters = _T("");
lpExecInfo.lpDirectory = _T("");
lpExecInfo.lpVerb = _T("open");
lpExecInfo.nShow = SW_MINIMIZE;
lpExecInfo.fMask = 0;
lpExecInfo.hwnd = this->m_hWnd;
lpExecInfo.hInstApp = AfxGetInstanceHandle();
ShellExecuteEx(&lpExecInfo);
The application starts but in normal/maximize mode. Ane guidence is
appreciable
Thanks in advance
Rajat