Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, February 2008
Can Qt's COM interface (QAxContainer) handle structures?


Message 1 in thread

Hello!
I'm interesting in Qt's QAxContainer module and have 2 questions regarding it:
1. what Qt edition console/desktop light/desktop required to use QAxContainer?
2. can it handle structures? some COM libraries (OpenOffice API, for
example) expose structures in their interfaces. How can they handled
with QAxObject interface?

--
 [ signature omitted ] 

Message 2 in thread

Dmitry wrote:
> Hello!
> I'm interesting in Qt's QAxContainer module and have 2 
> questions regarding it:
> 1. what Qt edition console/desktop light/desktop required to 
> use QAxContainer?

See here: http://doc.trolltech.com/4.3/commercialeditions.html 
you need desktop.

> 2. can it handle structures? some COM libraries (OpenOffice API, for
> example) expose structures in their interfaces. How can they handled
> with QAxObject interface?

have a look here:
http://doc.trolltech.com/4.3/qaxbase.html#querySubObject

does that answer your question?

If not, i'm sure sales@xxxxxxxxxxxxx will be able to help you (you can
ask them for a trial version, as well).

Cheers,
Peter

--
 [ signature omitted ] 

Message 3 in thread

"Dmitry Teslenko" <dteslenko@xxxxxxxxx> wrote in message 
news:91325fec0802260734y5f0c695bnf2e8d3424c6138f5@xxxxxxxxxxxxxxxxx
> Hello!
> I'm interesting in Qt's QAxContainer module and have 2 questions regarding 
> it:
> 1. what Qt edition console/desktop light/desktop required to use 
> QAxContainer?
> 2. can it handle structures? some COM libraries (OpenOffice API, for
> example) expose structures in their interfaces. How can they handled
> with QAxObject interface?

ActiveQt does not handle user-defined structs, but subobjects are accessible 
through querySubObject. I'm not familiar with the Open Office COM API to say 
which one they use. As user-defined structs are a PITA to work with in most 
COM client bindings (including VB) it would be odd if they use them.

Volker


--
 [ signature omitted ]