OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Advise() method error....plzzz help

From: Klaus Neuberger (Klaus.NeubergerNBGM.SIEMENS.DE)
Date: Mon Feb 07 2005 - 00:48:07 CST


Hi Janani,

there could be a couple of problems causing such an error. Each
ConnectionPoint is attached to an unique InterfaceID. The ConnectionPoint
pConnectionPoint calls your passed lpServerDispatch Inteface via
QueryInterface for this InterfaceID. It seems that your Sink object
lpServerDispatch doesn't implement the IntefaceIID for the ConnectionPoint.
If the ConnectionPoint (the toolkit) is implemented in VisualBasic, this
will require that the Interface has to be a Dispatch Inteface. A
DualInterface will not work for VisualBasic ConnectionPoints.

regards

xklaus

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM