visualc 发表于 2012-1-1 09:53:19

Explorer 问题讨论

今天发现结束&重启Explorer小小的额问题,AU3为最新汉化版

使用64位系统编译为32位文件,以下代码任弹出的是文档窗口,而 64为系统编译为64的问题正常
ProcessWait ( "explorer.exe" )
Run(@ComSpec & " /c " & 'taskkill /f /im explorer.exe ', "", @SW_HIDE)
Sleep(2000)
ShellExecute('explorer.exe')
Exit
但是帮助文档中发现,以下代码可解决此问题,希望可以帮助到大家
DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1)
ProcessWait ( "explorer.exe" )
Run(@ComSpec & " /c " & 'taskkill /f /im explorer.exe ', "", @SW_HIDE)
Sleep(2000)
ShellExecute('explorer.exe')
Exit
同时大家可以讨论下为什么出现该问题,我也不解!
页: [1]
查看完整版本: Explorer 问题讨论