How to manually set a base address of dll in Executable file

I have an exe file. This runs well in Windows XP, but not in Windows 7 x86. I analyzed this with IDA pro.

In XP, this accesses an address (0x7C80003C) and here it is in the first section of the kernel32.dll (0x7C800000~0x7C801000).

But in Windows 7, this accesses the same address, but there, it is a non-allocated range.

I hope to manually set the base address of kernel32.dll and have it also run well in Win7. How can I do this?


Source: dll

Leave a Reply