-
April 30th, 2004, 09:10 AM
#1
Help: Get REFIID of class
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!
-
April 30th, 2004, 09:18 AM
#2
How did you "create" mso9.cpp and mso9.h?
Some cause happiness wherever they go; others, whenever they go.
-
April 30th, 2004, 09:23 AM
#3
Originally posted by Toot
How did you "create" mso9.cpp and mso9.h?
Thanx for your reply.
VC++ 6.0: ClassWizard (CTRL+W) -> Automation -> Add Class -> From a type librabry -> mso9.dll
-
April 30th, 2004, 09:46 AM
#4
You can get the uuids and enums etc. by using the #import directive.
Code:
#import "mso9.dll" named_guids
You might need to path the DLL depending on your directories settings.
Does that help?
Some cause happiness wherever they go; others, whenever they go.
-
April 30th, 2004, 09:53 AM
#5
Yes great, thanx!!
By the way: I got the same problem with the dispids of events... How do I get them?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|