CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How to fire the event in VC COM project?

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


  2. #2
    Guest

    Re: How to fire the event in VC COM project?


    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



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured