FIX: Multiple CreateObject May Cause GP Fault in VBOA300.DLL (113438)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 3.0
This article was previously published under Q113438 SYMPTOMS
A general protection (GP) fault may result when working with OLE objects in
Visual Basic if you repeatedly create new OLE objects.
CAUSE
When OLE objects are created with Visual Basic and that OLE object is
subsequently set to Nothing, a hidden instance of the OLE application is
spawned and then orphaned. This uses up system resources and eventually
either the machine will hang (stop responding to input) or a GP fault will
occur in VBOA300.DLL at 0001:0D03.
WORKAROUND
When you create OLE objects. Be sure to close or quit the OLE object before
setting the variable to Nothing. Please see the example at the end of this
article.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This problem has been corrected in Visual
Basic version 4.0.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | kbbug KB113438 |
---|
|