-
January 4th, 2012, 08:27 PM
#1
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.
Last edited by AlanCCC; January 4th, 2012 at 08:33 PM.
-
January 5th, 2012, 04:32 AM
#2
Re: Start a 64bit app from a 32bit app?
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?
Victor Nijegorodov
-
January 10th, 2012, 03:43 AM
#3
Re: Start a 64bit app from a 32bit app?
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
-
January 13th, 2012, 03:06 AM
#4
Re: Start a 64bit app from a 32bit app?
You can use any of the functions you've mentioned to do this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|