Original Post
Hi!
I have been trying to program a simple application using the Messenger COM object and the IMessenger interface and the DMessengerEvents dispinterface published my microsoft as a part of the Messenger SDK.
My problem is that i do not know how to catch the methods in this latter interface, i.e. i want to be able to do something when e.g. a contact changes his/her status; i do not know how to work with the OnContactStatusChange method or any other method in this interface! How do i catch these events??
would really appreciate any help with this. I have the Messenger COM object up and running, so that is not the problem, i am able to call e.g. the putMyStatus method and any other method in this interface, it is the contained dispinterface that i am struggling with!!
i am using viual studio 5 c++.
thank you so much if you can help!
Krokus!