[MUD-Dev] Extensibility

szii at sziisoft.com szii at sziisoft.com
Wed May 15 15:59:36 CEST 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
this.

-Szii

_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list