IonicWind Software

IWBasic => General Questions => Topic started by: Andy on April 30, 2018, 07:06:30 AM

Title: 64 bit applications
Post by: Andy on April 30, 2018, 07:06:30 AM
Just taking a break from my custom menu code, and thought I'd look at updating my alternative task manager program:

http://www.ionicwind.com/forums/index.php?topic=5931.msg43806#msg43806 (run as admin in a folder you have created).

It works very well on a 32 bit windows machine, but fails to list 64 bit applications  :(, so does anyone have any ideas how I can enumerate them?

I've got some good ideas for updating my task manager, so can anyone point me in the right direction?

Thanks,
Andy.
:)
Title: Re: 64 bit applications
Post by: fasecero on April 30, 2018, 05:56:01 PM
I remember myself a few years ago trying to obtain info (the affinity) about a process in 64 bits from 32 bits. It is theoretically possible in several ways, but they all seem to be very complex, so I dismissed the idea. I don't have a clue if there is an easy one. To check why, you can read the first answer of the following link

https://stackoverflow.com/questions/3801517/how-to-enum-modules-in-a-64bit-process-from-a-32bit-wow-process

Maybe you are lucky enough to find on the web some Sapero-godlike code level on how to achieve this using undocumented APIs.
Title: Re: 64 bit applications
Post by: Andy on May 01, 2018, 04:27:33 AM
Fasecero,

Yes, this looks a tough one, think it's beyond me - I will just go with updating my task manager with things I can actually do!

Thanks,
Andy.