CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12
  1. #1
    Join Date
    Jan 2003
    Posts
    375

    Can 64-bit process launch 32-process on 64-bit Windows?

    CreateProcess() is the API that can start a new process. My question is, in the 64-bit application running on 64-bit Windows, can I use CreateProcess() to launch a 32-bit process? Thanks for help!

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    Did you try?
    Victor Nijegorodov

  3. #3
    Join Date
    Jan 2003
    Posts
    375

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    I currently have no access to 64-bit Windows, so I can't try it myself.

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    I don't have it either!
    Victor Nijegorodov

  5. #5
    Join Date
    Jul 2002
    Posts
    2,543

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    Yes, it works.

  6. #6
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    Quote Originally Posted by Alex F View Post
    Yes, it works.
    Why wouldn't it work ? They are both applications.

  7. #7
    Join Date
    Jul 2002
    Posts
    2,543

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    Quote Originally Posted by Skizmo View Post
    Why wouldn't it work ? They are both applications.
    I just answer the question. Did you read it?

  8. #8
    Join Date
    Jan 2003
    Posts
    375

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    Thank you for help! I will try CreateProcess() when I have access to 64-bit Windows.

  9. #9
    Join Date
    Jan 2003
    Posts
    375

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    Quote Originally Posted by Skizmo View Post
    Why wouldn't it work ? They are both applications.
    CreateProcess() can't launch 64-bit application on 32-bit Windows.
    Last edited by forester; May 30th, 2011 at 08:18 AM.

  10. #10
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    Quote Originally Posted by forester View Post
    CreateProcess() can't launch 64-bit application on 32-bit Windows.
    Do you mean that 64-bit application can be directly (without using CreateProcess) launched on 32-bit Windows?
    Victor Nijegorodov

  11. #11
    Join Date
    Jan 2003
    Posts
    375

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    64-bit application can run on 32-bit Windows, many articles said so.

  12. #12
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: Can 64-bit process launch 32-process on 64-bit Windows?

    First, your question was "Can 64-bit process launch 32-process on 64-bit Windows?". With the answer "Yes it can". For example, explorer 64 bit (main shell in Win x64) runs 32-bit applications alright. The technology is called WOW64 (Windows-on-Windows). The same way 32-bit Windows are able to run 16-bit apps in WOW. Just because the higher Windows natively implements virtual machine for lower Windows.

    Second, regarding "64-bit application can run on 32-bit Windows, many articles said so." Per my understanding (though possibly wrong ) either those articles lie, or you got the point wrong. 64-bit application can run on 32-bit architecture only in virtual machine implementing 64-bit architecture, and there is no such natively implemented in Win32.
    Last edited by Igor Vartanov; May 31st, 2011 at 06:59 AM.
    Best regards,
    Igor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured