First of all Thanks for the reply..
What is mean by Attach to a process is let us suppose there is a
component "A" that is installed under component services, which creates
another normal DLL component "B".
Now if i try to debug "B" component , "B" has to attach to DLLHOST using
the Debug+Process menu of devenv. After attaching there is a FILE Handle
for the "B" component stored by DLLHOST..NOW Detach from the
DLLHOST..Now if the component "B" is unloaded using
CoFreeUnUsedLibraries() "B" is not in the memory of DLLHOST, but DLLHOST
still holds the FILE Handle for "B".
FYI..The term FILE Handle i used is different from the DLL reference..
My application's user updates the custom dll's whenever needed by
compiling the custom component using VC .NET.As the FILE Handle for "B"
is still in DLLHOSt recompilation of "B" is not possible even after
CoFreeUnUsedLibraries()..
Regards,
Ramesh
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!