I developed onr OCX control. Thix OCX has windows message hook.
I am consuming this OCX in a C# application. This C# application also having windows hooks.
While closing the C# application i am getting the windows loader lock exception.
This exception is originated from the hook of the C# application.
How to resolve this problem.

Having problem with windows loader lock
J Camp
Are you getting this only when debugging or also in release build
You can disable it if it is only when debugging.
Debug->Exceptions menu
Expand Managed Debugging Assistants
Uncheck LoaderLock
OK