[Interest] Attaching to an existing MS EXCEL instance

Jason H scorp1us at yahoo.com
Mon Aug 6 19:43:48 CEST 2012

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.Velusamy at chevron.com>
To: "'interest at qt-project.org'" <interest at 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);
Interest mailing list
Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120806/473ae5ac/attachment.html>

More information about the Interest mailing list