Hooking GLOBALMEMORYSTATUS possible? (WinXP)

If it doesn't fit anywhere else, drop it in here. (not to be used as a chat/nonsense section)

Moderator: Moderator Team

Post Reply
Tobi
Posts: 44
Joined: Wed Jun 18, 2008 12:29 am

Hooking GLOBALMEMORYSTATUS possible? (WinXP)

Post by Tobi »

I just wanted to ask if there's any chance to API hook the GLOBALMEMORYSTATUS function of Windows XP SP3?

I have 2GBs of RAM an an older program which refuses to start due to a negative memory size. So the plan is to hook GLOBALMEMORYSTATUS to report a faked & limited mem size temporarily. Is this possible at all?


I already know that I can limit the memory size at windows startup, but it would be more comfortable if I could do this only for a single program during an ordinary session... ;)

Lone_Rifle
Test Team
Posts: 802
Joined: Thu Apr 03, 2008 2:17 pm
Contact:

Re: Hooking GLOBALMEMORYSTATUS possible? (WinXP)

Post by Lone_Rifle »

What program would this be? Could you take the less technical approach of running it in its own VM?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests