简体   繁体   中英

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). Can I use CreateProcess, ShellExecute or ShellExecuteEx functions in myapp32.exe to do this? Will be there any problems or limitations?

I use Visual C++ 2008 to write both myapp32.exe and myapp64.exe.

It should work fine, as if the target were 32 bit too. The 64 bit process will be completely separate from the 32 bit one (naturally) so its bitness doesn't really make any difference.

Problems might start to arise if you try to communicate with the 64 bit process without taking that into account.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM