[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

23817: Re: [MUD-Dev] Extensibility

[Full Header] [Plain Text]
From: <szii@sziisoft.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 15 May 2002 15:59:36 -0700
References: [1]
Organization: Kanga.Nu
From: "John Buehler" <johnbue@msn.com>
To: <mud-dev@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@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev