为什么得不出OBJ文件
CString temp = "cmd.exe /c masm.exe /c lianxi.asm /c lianxi.obj /c lianxi.lst /c lianxi.crf";
DWORD num;
if(!::CreateProcess(NULL, temp.GetBuffer(0), NULL, NULL, TRUE, 0, NULL, "C:\\WINDOWS\\system32\\", &m_si, &m_pi))
{
MessageBox("创建进程失败!!");
return;
}
temp.ReleaseBuffer();
DWORD rr = GetLastError();
::CloseHandle(m_hWrite);
this->ReadInfoFromPipe(edit, m_hRead); // 读取信息
为什么 这样创造进程 出不来 OBJ 文件?? 该怎么写。。。