problem on GUID

C

cyan21

hello,

I managed to catch oulook's event by using ATL and C++ but to do this I
had to import a dll from office(MSO.DLL)

I generated classes from the Outlook's type library with the wrapper
class.

I tried to replace Outlook::ItemsEvents by the generated class
"CtemsEvents"

For example, I have this
IDispEventSimpleImpl<1,COutlookEvents,&__uuidof(Outlook::ItemsEvents)>

and I'd like to rewrite like this :
IDispEventSimpleImpl<1,COutlookEvents,&__uuidof(CtemsEvents)>

however I got an error which told me there is not GUID for that kind of
object

Could someone tell me if it's possible to make this modification and
how to do it .

thanks in advance.

yann.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top