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.
Re: Start a 64bit app from a 32bit app?
Quote:
Originally Posted by
AlanCCC
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?
Did you already try some of these APIs? What problems did you get?
Re: Start a 64bit app from a 32bit app?
Quote:
Originally Posted by
AlanCCC
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.
I did it in the past with ::CreateProcess() and didn't encounter any problem.
Cheers
Re: Start a 64bit app from a 32bit app?
You can use any of the functions you've mentioned to do this.