Re: PowerPro can't run DFRGUI.EXE
| Newsgroups | gmane.comp.windows.power-pro |
|---|---|
| Message-ID | <[email protected]> |
If you are not familiar with Sysnative processing, you should read this as background https://www.samlogic.net/articles/sysnative-folder-64-bit-windows.htm https://www.samlogic.net/articles/sysnative-folder-64-bit-windows.htm If you run a file in PPro that has a path starting windows directory/system32, and if PPro cannot access the file as tested with _access(), then PPro will replace the path with the sysnative fix suggested at the link. I don't know how general that fix is, so it is possible it works sometimes but not others. For the shortcut case posted earlier, the background is as follow: PPro uses the 64 bit program ppro64.exe to run the shortcut; so that is why they often work. I did not, however, switch to using 64 bit run for everything because I was afraid that might break something else. PPro also can use disable redirection just for the duration of any file execution with the api described here https://docs.microsoft.com/en-us/windows/desktop/api/wow64apiset/nf-wow64apiset-wow64disablewow64fsredirection https://docs.microsoft.com/en-us/windows/desktop/api/wow64apiset/nf-wow64apiset-wow64disablewow64fsredirection You can activate that disable feature with exec.DisableRedirect(1) But in my testing some time ago it did nothing I could see for cases I was testing then (whatever they are). That is all I know. As I said in October, there are many mysteries in Windows that a humble Win32 programmer like me is not privy to. You would need to consult one someone steeped in those mysteries for further info.