[Solved] QProcess: can you call a 64 bit executable from within 32 bit Qt App on Windows 7?
-
QProcess: can you call a 64 bit executable from within 32 bit Qt App on Windows 7?
Thanks for your answers in advance.
-
I do not see why not.
Have you tried and it did not work? -
Yes, you can. By default though Windows will redirect calls from 32-bit applications to any 64-bit system applications to the respective 32-bit counterpart. To avoid it you should disable the file system redirection as explained here:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365743(v=vs.85).aspx
Applications that are NOT in the system folders (Program Files, Windows, System32 ect..) should not be affected.I am not sure though if Qt includes this functionality in its classes, or if you have to do this manually by linking with the kernel32 library and calling the appropriate function.
-
[quote author="T3STY" date="1424493842"]Yes, you can. By default though Windows will redirect calls from 32-bit applications to any 64-bit system applications to the respective 32-bit counterpart. To avoid it you should [/quote]
Thanks.