BUG: Modal Dialog in Terminate Causes Lockup on Windows 95Last reviewed: April 11, 1996Article ID: Q149036 |
The information in this article applies to:
SUMMARYDisplaying a modal dialog in the Terminate event of a class module can cause a lockup of the server providing the class and any clients. This happens with the 16-bit version of Visual Basic 4.0 on the Windows 95 operating system and can be demonstrated by the ds.vbp and thingtst.vbp samples in the oleserv sample directory.
STATUSMicrosoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
WORKAROUNDDo not show any modal dialogs in the Terminate event of a class. Showing any modal dialogs, including message boxes, is not recommended in either the Initialize or Terminate events of a class module because it can interfere with the creation and/or termination of objects. Both client and server are halted until the modal dialog is dismissed.
MORE INFORMATION
Steps to reproduce
|
KBCategory: kbprg kbbuglist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |