BUG: A GDI Resource Leak Occurs When a Visual Basic for Applications UserForm Is Displayed (321242)
The information in this article applies to:
- Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK) 6.0
- Microsoft Office 2000 Developer
- Microsoft Office XP Developer
This article was previously published under Q321242 SYMPTOMS
If a Visual Basic for Applications (VBA) host program loads and displays a UserForm, at least two Graphics Device Interface (GDI) handles may be leaked and may not be reclaimed until the host process exits. This problem occurs when the VBA project loads the UserForm the first time.
If the host program loads and unloads projects repeatedly, these leaks can cause the operating system to become low on system resources and not to redraw the program correctly, or can cause an "out-of-memory" error message.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/22/2002 |
---|
Keywords: | kbbug KB321242 |
---|
|