I have a WPF/C# program which utilises a COM component for making a
network connection. The problem is I the socket connection is failing
when i tried calling the ConnectServer function from a delegate.
However, the same function is a success when called without the help
of delegates.
Event viewer returned the following information.
--------------------------------------
The description for Event ID 10049 from source
ComConnect::ConnectToServer cannot be found. Either the component that
raises this event is not installed on your local computer or the
installation is corrupted. You can install or repair the component on
the local computer.
If the event originated on another computer, the display information
had to be saved with the event.
The following information was included with the event:
Socket Open Failed 10049 7U 10211, Entry Point

-----------------------------------------------------------

Should i take any special precautions for calling a COM dll from a
thread/delegate?