3C科技 娛樂遊戲 美食旅遊 時尚美妝 親子育兒 生活休閒 金融理財 健康運動 寰宇綜合

Zi 字媒體

2017-07-25T20:27:27+00:00
加入好友
CodeBlocks C++ 使用 Windows API(WinExec)呼叫Windows EXE來執行(啟動後不會咬住) #include #include #include using namespace std; int main() {     WinExec(“calc.exe”,SW_HIDE);//小算盤     Sleep( 3000 );     WinExec(“C:\\Windows\\explorer.exe /n ,/root, C:\\Keil\\”, SW_SHOWNORMAL);//啟動檔案總管並指定路徑     return 0; }        

本文由jashliaoeuwordpress提供 原文連結

寫了 5860316篇文章,獲得 23313次喜歡
精彩推薦