1ShellExecute(m_hWnd,\"open\",\"D:\\\\programme\\\\FolderTest\",NULL,NULL,SW_SHOW);2SHELLEXECUTEINFOShExecInfo={0};ShExecInfo.cbSize=sizeof(SHELLEXECUTEINFO);ShExecInfo.fMask=SEE_MASK_NOCLOSEPROCESS;ShExecInfo.hwnd=NULL;ShExecInfo.lpVerb=NULL;ShExecInfo.lpFile=\"D:\\\\programme\\\\FolderTest\\\\debug\";ShExecInfo.lpParameters=\"\";ShExecInfo.lpDirectory=NULL;ShExecInfo.nShow=SW_SHOW;ShExecInfo.hInstApp=NULL;ShellExecuteEx(3WinExec(\"explorer.exe\\\"D:\\\\programme\\\\FolderTest\\\\debug\\\"\",SW_SHOW);4STARTUPINFOsi;PROCESS_INFORMATIONpi;ZeroMemory(si.cb=sizeof(si);ZeroMemory(if(CreateProcess(NULL,\"explorer.exe\\\"D:\\\\programme\\\\FolderTest\\\\debug\\\"\",NULL,NULL,NULL,NULL,NULL,NULL,CloseHandle(pi.hThread);}追问我的地址存在字符串里,比如cpath,应该如何书写呢?
|