Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Running a program under WOW64 on a program X64

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-04-2009
Member
 
Join Date: Feb 2009
Posts: 81
Running a program under WOW64 on a program X64
  

I just need a little confirmation.
If I have a compiled exe which launches x86 exe compiled x64 B via CreateProcess or ShellExecute is it that B is normally performed in 64 bit mode?
Conversely, it is an executable which launches x64 exe x86 launches automatically with the WOW64?
And all this, never any problem of compatibility?

I know this question may sound complicated but rather than continue with virtual certainty, especially eliminate once and for all possible doubt.

Reply With Quote
  #2  
Old 08-04-2009
Member
 
Join Date: Dec 2008
Posts: 128
Re: Running a program under WOW64 on a program X64

On 64-bit Windows, 32-bit programs run in an emulation layer. This emulation layer simulates the x86 architecture, virtualizing the CPU, the file system, the registry, the environment variables, the system information functions, all that stuff. If a 32-bit program tries to look at the system, it will see a 32-bit system. For example, if the program calls the GetSystemInfo function to see what processor is running, it will be told that it's running on a 32-bit processor , with a 32-bit address space, in a world with a sky 32-bit and 32-bit birds in the 32-bit trees.

And that's the point of the emulation: To keep the 32-bit program happy by simulating a 32-bit execution environment.

This i had taken from MSDN site,go through it and check whether it helps..
Reply With Quote
  #3  
Old 08-04-2009
Member
 
Join Date: Feb 2009
Posts: 81
Re: Running a program under WOW64 on a program X64

I will not mention WOW64 on x64, but different way to start fresh in WOW64 to emulate an x86 when it is launched from a x86 or x64, depending on the mode of launch CreateProcess, ShellExecute, and if is the possibility of any such problem by launching a 64-bit exe from an exe 32-bit while it is running under WOW64 ...
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Running a program under WOW64 on a program X64"
Thread Thread Starter Forum Replies Last Post
PCdoctor program test is running slow Shingane Windows Software 3 07-08-2012 12:05 PM
Get Dll files from running program leam_lidara Windows Software 1 11-01-2011 09:56 AM
Running 64 bit program on a 32 bit vista Romany Operating Systems 5 08-02-2010 04:09 PM
Running simple java program..... Kushan Software Development 4 16-11-2009 02:38 AM
Running a program/batch as a service jean-paul martell Operating Systems 4 08-04-2009 10:58 AM


All times are GMT +5.5. The time now is 07:58 PM.