Why are some VB6 DLLs loaded as mapped files?

Posted by Mark Bertenshaw on Stack Overflow See other posts from Stack Overflow or by Mark Bertenshaw
Published on 2010-04-23T09:08:23Z Indexed on 2010/04/23 15:43 UTC
Read the original article Hit count: 245

Filed under:
|
|

Hi -

A colleague of mine, whilst trying to figure out the memory useage of our VB6 / C# 2.0 application noticed that a minority of VB6 DLLs have two entries in the SysInternals Process Explorer application. All DLLs have an entry for Mapping = Image, and a specified base address. However, a few also have an entry for Mapping = Data, with a base address of zero, and a much smaller memory useage. I seem to remember something about using mapped memory files to share memory between processes, but we are definitely not doing something as interesting as this. All communication between EXEs is done via COM, and as far as I know, nobody has written a shared memory component.

This is not desperate, but I would be very interested in any suggestions as to why some DLLs are loaded as mapped file

Thanks,

Mark Bertenshaw

© Stack Overflow or respective owner

Related posts about vb6

Related posts about c#