I can't say how for sure, but you'd have to ask windows for the running
instances then attach to a running instance, probably by constructing IUnknown
yourself and passing that to your own subclass of QAxBase.
________________________________
From: "Velusamy, Baskar" <baskar.velus...@chevron.com>
To: "'interest@qt-project.org'" <interest@qt-project.org>
Sent: Monday, August 6, 2012 1:22 PM
Subject: [Interest] Attaching to an existing MS EXCEL instance
Hi All
The following command is always opening a new Excel instance; I am trying to
attach with an existing Excel instance. Any idea how to do that?
QAxObject *excel = new QAxObject("Excel.Application",0);
Thanks
Baska
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest