简体   繁体   English

从32位应用启动64位应用?

[英]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.

相关问题 Windows应用商店DLL 32位和64位 - Windows Store App DLL 32bit and 64bit Xcode:编译具有32bit库的64bit应用 - Xcode: compile 64bit app with 32bit library 将64位应用程序中的protobuf消息编码并在32位应用程序中解码吗? - Will encoding protobuf messages in 64bit app and decoding in 32bit app work? 从64位整数中提取32位 - extract 32bit from 64bit integer 从32位程序启动64位进程 - Launching 64bit process from 32bit program 将应用程序从 32 位移植到 64 位的问题 - Issue in porting application from 32bit to 64bit Visual Studio - C++ - 以 32 位或 64 位形式构建和运行应用程序 - 从适当的 ProgramFiles 目录加载 DLL - Visual Studio - C++ - build and run app as 32bit or 64bit - load DLL from appropripate ProgramFiles dir 32位应用程序中的WebBrowser控件在window.open()调用上启动64位Internet Explorer - WebBrowser Control in 32bit app Launches 64bit Internet Explorer on window.open() call 64位服务器下的OpenSSL问题,同一32位(QT应用程序)下没有 - OpenSSL issue under 64bit server and none under same 32bit (QT app) 为什么64位版本的应用程序比32位版本慢得多 - Why 64Bit version app is much slower than 32Bit version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM