GetBuiltInDocumentProperties question

J

Josh Orfanakis

I am automating office apps in C++
I need to get the properties of the document.
GetBuiltInDocumentProperties returns IDispatch. I have searched and
searched for way to get the properties and I have found some awful
complex approaches that don't use the object models at all.

In mso9.dll there is are interfaces exported named O9DocumentProperties
and DocumentProperty, this is exactly what I am looking for but
O9DocumentProperties is not an interface supported by what is returned
from GetBuiltInDocumentProperties.

Is there any way to use the object model to get these interfaces?


TIA
JO
[email protected]
 
J

Josh Orfanakis

I forgot that DocumentProperties were something that had to be renamed
in order to import. So to clarify O9DocumentProperties is the name I
gave to DocumentProperties.

I don't see why this would be part of the problem and I haven't seen a
way to be able to import without renaming DocumentProperties but who
knows.

In any case my problem still remains. I want to be able to get at the
built in and custom properties using the object model instead of

the low level COM approach.
 
Top