How to catch Outlook Events

  • Thread starter Thread starter cyan21
  • Start date Start date
C

cyan21

hello,

Could someone explain me how to catch Outlook events ?

What I'd like to do is to write a DLL which allows my C++ program to
connect to Outlook and detect new mail.

I read some subjects on it, but I didn't really understand.
I know I have to use ATL but I don't know how to use it.

here is what I found concerning this subject :
http://groups.google.fr/group/micro...AddItem+event.&rnum=11&hl=fr#e494ebc7a946ee46
http://groups.google.fr/group/micro...k+get+event+c++&rnum=9&hl=fr#c9c11c3a26c6cb10
http://groups.google.fr/group/micro...ook+event+c++&rnum=199&hl=fr#b706cfe91b779ef6

thanks
 
ok I think I get it.

but now I would like to use Outlook classes ( generated by the Class
Wizard and a type library) instead of using "Outlook :: ....."

for example, instead of using " Outlook :: ItemsEvents", I d rather use
CItemsEvents.
However, I can't get the uuid of my class when I use
&__uuidof(Outlook::ItemsEvents).

Could someone help me please.
 
Back
Top