Hello!
How can I get the REFIID of a class built from a type-library? I created mso9.cpp and mso9.h out of the mso.dll (Office), but it doesn't contain any information about REFIIDs or uuids or anything like that... help!
Printable View
Hello!
How can I get the REFIID of a class built from a type-library? I created mso9.cpp and mso9.h out of the mso.dll (Office), but it doesn't contain any information about REFIIDs or uuids or anything like that... help!
How did you "create" mso9.cpp and mso9.h?
Thanx for your reply.Quote:
Originally posted by Toot
How did you "create" mso9.cpp and mso9.h?
VC++ 6.0: ClassWizard (CTRL+W) -> Automation -> Add Class -> From a type librabry -> mso9.dll
You can get the uuids and enums etc. by using the #import directive.
You might need to path the DLL depending on your directories settings.Code:#import "mso9.dll" named_guids
Does that help?
Yes great, thanx!!
By the way: I got the same problem with the dispids of events... How do I get them?