Nightmare090197
asked on
Unload a COM library
Application creates COM object (dll in clients context), and in some moment it needs install new version of COM object. App delete one, unregister, calls CoFreeUnusedLibraries(). CoFreeUnusedLibraries calls DllCanUnloadNow and ones return S_OK, but dll doesn't unload until calls CoUninitialize(). But app uses other COM objects and can't call CoUninitialize(). How to free com dll?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, but VC6.0 don't understand CoFreeUnusedLibrariesEx
:(
:(
I just noticed that it is available in XP only.
Why did you accept the answer if it doesn't work for you?
Why did you accept the answer if it doesn't work for you?
ASKER
Because can'y see any logial answer. Isn't it? ;)
ASKER
any oser logical answer
Hi.
1. What operating system do you compile it on?
2. I can't provide a solution right now. But maybe somebody can. I can't take points if I didn't help. So can I return your points please?
Zhenya
1. What operating system do you compile it on?
2. I can't provide a solution right now. But maybe somebody can. I can't take points if I didn't help. So can I return your points please?
Zhenya
ASKER
Have you any idea?