matans
asked on
DIID_HTMLDocumentEvents2 ?
anyone know where is this defined in microsoft header files ? my mshtml.h does not contain it
ASKER
Assaf,
I added #import <shdocvw.dll>
I'm afraid it didn't solve the problem. The symptoms are exactly the same!
(error C2065: 'DIID_HTMLDocumentEvents2' : undeclared identifier MfcObjMdl.cpp)
I added #import <shdocvw.dll>
I'm afraid it didn't solve the problem. The symptoms are exactly the same!
(error C2065: 'DIID_HTMLDocumentEvents2'
add 'named_guids no_namespace' to the import line
#import "shdocvw.dll" named_guids no_namespace
The problem is that by default the #import operation doesn't create the appropriate constans (DIID_...s) for you (since you can use __uuidof).
#import "shdocvw.dll" named_guids no_namespace
The problem is that by default the #import operation doesn't create the appropriate constans (DIID_...s) for you (since you can use __uuidof).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
(It turned out I had to download updates to the sdk, so I doubt that importing would have solved)
It would have.
ASKER
even if updated header files did not exist yet when this dll was installed ?
it has it.