BUG: AV Running VB5-Built Component in Multi-Threaded EnvironmentID: Q186273
|
When running an apartment model DLL created in Visual Basic 5.0 in a multithreaded environment such as Microsoft Internet Information Server (IIS) or Microsoft Transaction Server (MTS), the DLL fails periodically with an access violation (AV).
The following steps may be used to change the DLL to avoid the problem.
This may not resolve the issue in all cases.
Public gEmpty As clsEmpty
Public Sub main()
Set gEmpty = New clsEmpty
End Sub
Q191119 : BUG: VB Classes Can Cause IIS to have Access Violations
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
bug and will post new information here in the Microsoft Knowledge
Base as it becomes available.
Additional query words: MTS IIS crash gpf ipf kbVBp500bug kbDSupport kbdss
Keywords : kbVBp500bug
Version : WINDOWS:5.0,97,97sp1,97sp2,97sp3
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 20, 1999