The information in this article applies to:
SYMPTOMS
If you have any .OCX, .VBX, or .DLL that was created by the Control
Developer's Kit (CDK) loaded in memory when you exit Windows 3.1, Windows
will hang trying to call the WEP in the .OCX.
CAUSEThe cause of this hanging is that the CDK-provided WEP calls into other .DLLs. During Windows shutdown, those .DLLs may have already been unloaded. STATUSMicrosoft has confirmed this to be a problem in the 16-bit version of the Control Development Kit. RESOLUTION
The solution is for the control to implement a custom WEP and only call the
CDK's WEP when Windows isn't shutting down. In the case where Windows is
shutting down, the control's custom WEP shouldn't do anything.
In the 16-bit .DEF file (for example, CIRC3.DEF), change the following line
to:
MORE INFORMATIONThis is a problem with how the CDK has implemented their WEP. For end users, this will happen if they try to exit Windows with an application that has a CDK .OCX, .VBX, or .DLL loaded. Additional query words:
Keywords : kbVBp400 |
Last Reviewed: January 19, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |