On 4/5/2012 1:26 PM, Pau Garcia i Quiles wrote:
>
>
> On Thu, Apr 5, 2012 at 7:37 PM, Mark Petryk <[email protected]
> <mailto:[email protected]>> wrote:
>
>     On 4/5/2012 7:07 AM, Pau Garcia i Quiles wrote:
>      > Is your COM server implemented in Qt?
>
>     My Qt app is a COM client.  My Qt app (or library or class set) is a COM
>     wrapper to another .exe COM server.  The COM server was somewhat limited
>     so I implemented a sophisticated wrapper using the Qt COM client
>     functionality (QAxContainer) and enhanced it quite a bit.
>
>
> Given that your Qt is a COM client, you need one of these:
>
> c) Turn your Qt wrapper into a server, be it COM server, IPC (DBUS,
> zeromq, named pipes, etc), TCP/IP, etc
>
> (c) in the form of COM server is probably the more future-proof choice.
> If it may happen that the Qt wrapper and the Wt app run on different
> computers, then I'd go for zeromq, ICE, raknet, TCP/IP or alike.
>
>

This is viable.  I can produce a Qt COM client/server easily.  I have, 
in fact.  I didn't think I'd need to go that far for this project.  I do 
it like this:

.exe COM server <--- Qt COM wrapper <--- Qt app server ---> vbScript

So, my Qt app is acting like a COM server to vbScript and wrapping my 
.exe server will all my enhanced COM stuff.  I'm doing this already. 
That's why I wrote the wrapper, for vbScript, in fact.

I guess I just need to look in to one of the other interfaces you suggested.

The marshalling code for COM is quite an adventure, and I'd rather not 
have to do it all over again.

>      > Also, I fail to see how CMake is relevant here.
>      >
>
>     All I was saying was that the wtwithqt sample example was using CMAKE
>     and Qt uses a different build system.  It may not be relevant.  That's
>     kind-of why I was asking.
>
>
> You can build Qt applications with CMake. Support for Qt in CMake is
> very good, in fact.
>

Didn't know.  I'll look at it.

Thanks!

~mark


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to