Wed May 15 15:59:36 New Zealand Standard Time 2002
From: "John Buehler" <johnbue at msn.com>
To: <mud-dev at kanga.nu
>> Try LoadLibrary and FreeLibrary. I believe they'll give you the
>> behavior that you're after.
> >From the Platform SDK documentation: "The FreeLibrary function
> decrements the reference count of the loaded dynamic-link library
> (DLL) module. When the reference count reaches zero, the module is
> unmapped from the address space of the calling process and the
> handle is no longer valid."
The OS caches the DLL even after that point "just in case you want
to reload it soon afterwards." Trust me, we spent a lot of time,
effort, research, and phone time with Microsoft trying to resolve
MUD-Dev mailing list
MUD-Dev at kanga.nu
More information about the MUD-Dev