04-25-2007 05:09 PM
04-26-2007 08:18 AM
Mea culpa. We have found a fix for this. It relates to our dll structure. We create a message pump in the dll associated with a hidden window. When the dll is initialized, the window is registered with the operating system. When the dll is unloaded, the window is closed but we weren't de-registering it. This caused the problem the second time the dll was loaded. By de-registering when the dll is unloaded, the problem has been solved.
Mike.