Errors when importing Outlook obj lib using embedded_idl attribute.

T

Tim Pulley

I'm re-writing on an Outlook add-in using Visual Studio .Net 2003, VC++ and
ATL. I wanted to use the new unified event handling and the intrisic __hook
/ __unhook commands. However when I try to #import the Outlook (XP and 2003)
object library using the embedded_idl attribute I encounter a large number
of C3303 errors [attribute 'xxx' can only be used on interface methods,
interface method params... ]. The problem is that attribute / method that
MIDL is complaining about is an interface method.

I haven't found away to work around this. Has anyone been able to get this
to work?

Tim
 

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