L
Linny
Hi,
I am programming for Automation of MS Word XP, in C++.
My application which runs as a background process is concerned with
getting the active Word document and interacting with it.
But whenever I use CoCreateInstance for getting an object of the
Word.Application, another instance of winword.exe is created apart from
the instance of word which is already active and in focus and
I get a pointer to that applications IDispatch interface rather than
the existing one.
I am not able to understand how to get control of the already existing
word app object. Please help me out.
regards
Linny
I am programming for Automation of MS Word XP, in C++.
My application which runs as a background process is concerned with
getting the active Word document and interacting with it.
But whenever I use CoCreateInstance for getting an object of the
Word.Application, another instance of winword.exe is created apart from
the instance of word which is already active and in focus and
I get a pointer to that applications IDispatch interface rather than
the existing one.
I am not able to understand how to get control of the already existing
word app object. Please help me out.
regards
Linny