如何用ShellExecuteEx打开程序并且获得句柄
的有关信息介绍如下:用Findwindow:memset(&ShExecInfo,0,sizeof(ShExecInfo));ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;ShExecInfo.hwnd = m_hWnd;ShExecInfo.lpVerb = "open";ShExecInfo.lpFile =strFile; //程序文件名称ShExecInfo.lpParameters = strP; //带的参数ShExecInfo.lpDirectory = strPath; //程序文件目录ShExecInfo.nShow = SW_SHOWNORMAL; //程序窗口样式ShExecInfo.hInstApp = NULL;ShellExecuteEx(&ShExecInfo);