[JDEV] Problems with delegates in C# using JabberCOM
Neil Ferguson
neilferguson at mail.com
Mon Nov 26 09:31:30 CST 2001
Hi.
Firstly, apologies if you recieve this more than once -- I used my other (not subscribed)email address the first time.
Anyway, I'm having problems registering more than one delegate for events in JabberCOM. Registering a delegate for the second event (no matter what it is) always throws the following error:
Unhandled Exception: System.Runtime.InteropServices.COMException
(0x80040202): E
xception from HRESULT: 0x80040202.
An example of code that would do this would be:
session.OnConnect += new IJabberSessionEvents_OnConnectEventHandler(this.myOnConnectHandler);
session.OnAuthError += new IJabberSessionEvents_OnAuthErrorEventHandler(this.myOnAuthErrorHandler); > Error occurs here.
Has anybody encountered this problem before, or got any ideas? I've found one other reference to it, at: http://aspn.activestate.com/ASPN/Mail/Message/DevelopMentor-dotNET/772459, but can't find a resolution.
Thanks,
Neil.
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
1 cent a minute calls anywhere in the U.S.!
http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com
More information about the JDev
mailing list