摘要: #include <windows.h>#include <stdio.h>#include <stdlib.h>int runcmd( char* lpCmd ){ char buf[2048] = {0}; //缓冲区 DWORD len; HANDLE hRead, hWrite; // 管道读写句柄 STARTUPINFO si; PROCESS_INFORMATION pi; SECURITY_ATTRIBUTES sa; //ZeroMemory( buf, 2047 ); sa.nLength = sizeof(... 阅读全文
posted @ 2011-12-05 20:06 女孩不哭 阅读(9529) 评论(0) 推荐(1) 编辑