Click to See Complete Forum and Search --> : How to fire the event in VC COM project?


November 4th, 1999, 09:13 PM
I am a beginner of programmer,I write a com project in vc++.And I use VB 6.0 to find the events also.
But How do I fire the event in VC com code .For example ,I need fire the event when user call the com
object method such as mymethod().

March 14th, 2000, 10:35 PM
hi,
For an object to fire events , it should impliment IConnectionpoint Interface

1) Add a connection point
2) Define event methods
3) call it from ur other class methods when ever u need to fire an event

the wizards will do most of this for u

enjoy

from
the godfather