<pre name="code" class="cpp"><pre name="code" class="cpp"> //CString strWndName;
//strWndName = L"";
//CString strExeName;
//TCHAR szFilePath[MAX_PATH + 1];
//GetModuleFileName(NULL, szFilePath, MAX_PATH);
//(_tcsrchr(szFilePath, _T('\\')))[1] = 0;
//m_strMFPath.Format(L"%sout\\",szFilePath);
//CWnd * m_pWndReport= CWnd::FindWindow( NULL,L"三维影像工作站5.1");
//if(m_pWndReport == NULL)
//{
// strExeName.Format(L"%sMedPacs3D86.exe",m_strMFPath);
// USES_CONVERSION;
// UINT u_int = WinExec(W2A(strExeName),0);
// if (u_int <= 31)
// {
// AfxMessageBox(L"请确认3D处理模块是否存在!");
// }
// Sleep(2000);
// m_pWndReport= CWnd::FindWindow( NULL,L"三维影像工作站5.1");
// if(m_pWndReport == NULL) return;
// CString strDataToSend;
// strDataToSend.Format(L"%sread_me.txt",m_strMFPath);
启动别的exe
最新推荐文章于 2023-11-07 16:02:53 发布