Aloha John The reason that you think the 64-bit PowerShell is working is because actually the 32-bit PowerShell is still being used.
When a 32-bit application (in this case 4D) accesses the system32 directory, those accesses are automatically redirected to the SysWow64 directory. So when you use LEP to launch PowerShell and you think you've specified the 64-bit version in system32, the OS is just launching the one from SysWow64. On the other hand, when running a 64-bit application this redirection doesn't happen, so you can launch either 32-bit or 64-bit PowerShell as needed. As your QB SDK is 32-bit only, you'll always have to launch the 32-bit PowerShell. Hope this helps. Best regards Keith White Synergist Express Ltd, UK. 4697775 ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************