[英]Start a 64bit app from a 32bit app?
Under 64bit Windows 7, I want to start a 64bit executable(myapp64.exe) from a 32bit executable(myapp32.exe). 在64位Windows 7下,我想从32位可执行文件(myapp32.exe)启动64位可执行文件(myapp64.exe)。 Can I use CreateProcess, ShellExecute or ShellExecuteEx functions in myapp32.exe to do this? 我可以在myapp32.exe中使用CreateProcess,ShellExecute或ShellExecuteEx函数来执行此操作吗? Will be there any problems or limitations? 会有任何问题或限制吗?
I use Visual C++ 2008 to write both myapp32.exe and myapp64.exe. 我使用Visual C ++ 2008编写myapp32.exe和myapp64.exe。
It should work fine, as if the target were 32 bit too. 它应该可以正常工作,就像目标也是32位一样。 The 64 bit process will be completely separate from the 32 bit one (naturally) so its bitness doesn't really make any difference. 64位进程将与32位进程完全分开(自然而然),因此它的位数实际上没有任何区别。
Problems might start to arise if you try to communicate with the 64 bit process without taking that into account. 如果您尝试与64位进程进行通信而没有考虑到问题,则可能会开始出现问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.