How can I find out in a 32-bit application what 64-bit processes are launched?

Andrey Karpov
Articles: 552

Documented capabilities of WinAPI do not allow you to directly identify 64-bit processes from within a 32-bit program launched in a 64-bit Windows under WoW64. In general, reading of memory of a 64-bit process from a 32-bit application is impossible due to the difference in address space arrangement.

You may get a list of 64-bit processes for a 32-bit application either by using a specially created 64-bit process you may exchange messages with or using an out-of-process COM server (for instance, DLL Surrogate).

References



Use PVS-Studio to search for bugs in C, C++, C# and Java

We offer you to check your project code with PVS-Studio. Just one bug found in the project will show you the benefits of the static code analysis methodology better than a dozen of the articles.

goto PVS-Studio;

Andrey Karpov
Articles: 552


Bugs Found

Checked Projects
414
Collected Errors
14 218
This website uses cookies and other technology to provide you a more personalized experience. By continuing the view of our web-pages you accept the terms of using these files. If you don't want your personal data to be processed, please, leave this site. Learn More →
Accept