Quantcast
Channel: 看雪安全论坛
Viewing all articles
Browse latest Browse all 9556

【求助】WIN7 64位上如何打开开机启动项?(代码)

$
0
0
XP上:
代码:

ShellExecute(XWnd_GetHWnd(hWindow),_T("open"),_T("msconfig.exe"),_T("/6"),NULL,SW_SHOWNORMAL);
WIN7上:
代码:

ShellExecute(XWnd_GetHWnd(hWindow),_T("open"),_T("msconfig.exe"),_T("/4"),NULL,SW_SHOWNORMAL);
经测试发现WIN7 32位上是可以的,但是WIN7 64位毫无反应,跟个死鸡一样,特此求救!thanks simida!:eek:

Viewing all articles
Browse latest Browse all 9556


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>