AddAdvise in C++ application

H

Haakon S.

I am trying to incorporate a Visio Drawing Control in my application. I use
VC++ 6.0 with MFC. When I include the control I get a number of class wrapper
files added to my project, CVApplication, CVDocument, etc. This should be
sufficient to get going. However, I am badly in need of keeping track of
events that need AddAdvise(). This function is defined in CVEventList. But
how can I use this without adding various other files to my project and use
for instance IVisEventProc. I don't know very much about COM, and I try to
avoid getting deeply involved in it.

Isn't there some standard code that covers most uses of the function? I
can't figure it out from the FlowSample project included with the Visio 2003
SDK.
 

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