Re: Raising Events to COM Clients from .NET Assembly

Steve Johnson <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <[email protected]>
On Dec 19, 2007 6:09 AM, Brady Kelly <[email protected]> wrote:

> Are there any caveats regarding this?
>
>
Yes, threading can be a real nightmare to get right.  If you are raising
events to the COM client from multiple threads, you'll probably have
trouble.  Make sure you only raise events back to the COM client from the
thread that created the object raising the event.  This is especially true
if the client is written in VB6.

--
Steve Johnson

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.