Microsoft KB Archive/131047

= PRB: GP Fault When Using 16-Bit Automation DLLs =

Article ID: 131047

Article Last Modified on 12/8/1999

-

APPLIES TO


 * Microsoft OLE 2.03

-



This article was previously published under Q131047



SYMPTOMS
After dynamically loading and then unloading one of the 16-bit OLE Automation DLLs (OLE2DISP.DLL, LOE2NLS.DLL, or TYPELIB.DLL), you experience a general protection (GP) fault in COMPOBJ.DLL.



CAUSE
If any of the 16-bit OLE Automation DLLs (OLE2DISP.DLL, LOE2NLS.DLL, or TYPELIB.DLL) is dynamically loaded, it should not be unloaded until after OleUninitialize has been called. Otherwise a general protection (GP) fault can occur in COMPOBJ.DLL.



RESOLUTION
If you dynamically load any of the 16-bit OLE Automation DLLs (OLE2DISP.DLL, LOE2NLS.DLL, or TYPELIB.DLL), don't unload it until OleUninitialize has been called.



STATUS
This requirement is by design.

Additional query words: GPF

Keywords: kbprogramming kbautomation kbprb KB131047

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.