
VC++ 5.0 #import statement not generating all interfaces
We've recently upgraded to VC++ 5.0 and have the need to use OLE controls
without
MFC. The #import statement seemed excellent, but I can't get it to generate
all exported
interfaces. I want to use the IWebBrowser interface, so I use
#import <shdocvw.dll>
in my file. This generates a .tlh and a .tli file with everything but the
actual calls to the
OLE control. Well, the DWebBrowserEvents interface gets an implementation
generated,
but both the IWebBrowser and IWebBrowserApp only has pure virtual functions
with
no implementation for the exposed methods. I have tried with the
raw_dispinterfaces
modifier, but it doesn't seem to do anything. What am I doing wrong?
--
Sven Axelsson, Wordwork AB, Sweden