发布于 2010-07-15 10:20:37
21楼
你为这个程序建个快捷方式,用ShellExecute打开这个快捷方式,比如命名为test
#pragma code ("shell32.dll")
long ShellExecuteA(HWND hwnd , LPSTR lpOperation, LPSTR lpFile, LPSTR lpParameters, LPSTR lpDirectory , long nShowCmd);
#pragma code ()
ShellExecuteA(NULL,"OPEN","c:\\test.lnk",NULL,NULL,1);