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.
Who is Participating?
Either of these APIs should be fine, but check the limitations mentioned in ("Best Practices for WOW64 ") - the mostly affect registry and file system redirection.
trinitrotolueneDirector - Software EngineeringCommented:
"A 64-bit executable file located under %windir%\System32 cannot be launched from a 32-bit process"
check this MSDN
trinitrotolueneDirector - Software EngineeringCommented:
and remember a 32 bit process cannot load a 64bit dll and vice versa
chcwAuthor Commented:
Great answers
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.