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().
Printable View
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().
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