Hi all,

is there any linker option (VC++ 2005) or something similar to force the winXp loader to keep a defined memory range free so it does not load any .dll at this address?

Background is that I need a fixed range of size 0x10000000 for interprocess communications in every process which takes part. The range has to be at the same offset in every process (e.g 0x40000000 to 0x50000000), so I can store pointers inside that area that are valid in every process.

Problem is if the loader decides to load some .dll into my configured memory range before I even have the chance to reserve this part of memory during run time some client can't take part on the interprocess communication.

In short I want to force the system to keep a memory range like 0x40000000-0x50000000 untouched till run time.

Any Ideas?

Thank you in advance!