Below is a stab:
<WebMethod()> _
Public Function MyWebService(ByVal MyParm As string)
Static Dim SyncObject As New Object
SyncLock (SyncObject)
SillySingleThreadedCOMObject.Method(MyParm)
End SyncLock
End Function
Why is the COM single threaded - is it a VB6 component running in an
STA? If so, you can usually just add the component to COM+ and you'll
get access to a lot more threads from the COM+ STA threadpool.
Its a 3rd party dll for talking to a piece of hardware.
"Josh Twist" <josh....@gmail.com> wrote in message
news:1145517239.5...@z34g2000cwc.googlegroups.com...