RE: replace a COM Object's dll while server is running?
From: plandry (plandry_at_discussions.microsoft.com)
Date: 06/11/04
- Previous message: Nathan Lewis: "RE: replace a COM Object's dll while server is running?"
- In reply to: Nathan Lewis: "RE: replace a COM Object's dll while server is running?"
- Next in thread: Nathan Lewis: "RE: replace a COM Object's dll while server is running?"
- Reply: Nathan Lewis: "RE: replace a COM Object's dll while server is running?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Jun 2004 06:05:01 -0700
Thanks Nathan, that's a help. I think I'll do what you suggested, and keep an app running to clear it out periodically -- hopefully that will cut down on the time to develop with less rebooting. Thanks
Pete
"Nathan Lewis" wrote:
> Pete,
>
> I have located a Microsoft Knowledge Base article (#301357) that may be
> helpful:
>
> PRB: DLLs Not Unloaded After Calling CoFreeUnusedLibraries
> http://support.microsoft.com/support/kb/articles/Q301/3/57.ASP
>
>
> The CoFreeUnusedLibraries API itself is described here:
>
> http://msdn.microsoft.com/library/en-us/com/htm/cmf_a2c_3p2r.asp
>
>
> Basically, when it is called, this API will free any COM DLLs that are no
> longer in use - such as your own ASP DLL. So what you could do is create a
> separate small application that simply calls the API. You can either have
> it call the API once every ten minutes or so, or you could even have a
> button to push. Either way, keep in mind that there can be up to a ten
> minute delay between the time your DLL is unloaded, and the time when you
> will be able to delete it.
>
> Please let me know if you have any further difficulties with this issue, or
> if this does not fully address your question.
>
>
> Sincerely,
>
> Nathan Lewis
> Support Engineer
> Developer Support - Windows Mobile & Embedded Systems
> Microsoft Corporation
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
>
>
- Previous message: Nathan Lewis: "RE: replace a COM Object's dll while server is running?"
- In reply to: Nathan Lewis: "RE: replace a COM Object's dll while server is running?"
- Next in thread: Nathan Lewis: "RE: replace a COM Object's dll while server is running?"
- Reply: Nathan Lewis: "RE: replace a COM Object's dll while server is running?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|