发布于 2008-11-03 17:37:39
0楼
[C:\WINDOWS\SYSTEM32\]是通过什么函数获得的?
我的没有问题啊
#pragma code("kernel32")
DWORD GetSystemDirectoryA(LPCTSTR,long);
#pragma code("")
char strPath[255];
GetSystemDirectoryA(strPath,255);
//printf("\r\n%s",strPath);
ProgramExecute(strcat(strPath,"\\Start.exe"));
非淡泊无以明志,非宁静无以致远