H
Henry16
Hi,
I would like to use the native functions from MS Word
to read the file content.
The native functions (Automation from MSWord application)
allows me to get text object from the document.
I use the automations creating a word process :
CLSIDFromProgID(L"Word.Application", &clsid);
IUnknown* pUnk;
hr = ::CoCreateInstance( clsid, NULL, CLSCTX_LOCAL_SERVER
,IID_IUnknown, (void**) &pUnk);
Then I use this COM object to retrieve the text object.
The problem I have is :
My app use a winword.exe process/automation/text object.
If the user open a word document, then,
the MS word document will use the process winword.exe of my app.
Then the user has a disturbing effect (flash effect) of
my automation functions.
I tried to :
.. avoid the user opening a word document using the process I created to
have two seperate
process : failure
.. secure my process (unusable process by other) : not succeeded.
.. have a full invisible automation process : not succeeded
I thank you very much from your advise
Jack Y. Boat
I would like to use the native functions from MS Word
to read the file content.
The native functions (Automation from MSWord application)
allows me to get text object from the document.
I use the automations creating a word process :
CLSIDFromProgID(L"Word.Application", &clsid);
IUnknown* pUnk;
hr = ::CoCreateInstance( clsid, NULL, CLSCTX_LOCAL_SERVER
,IID_IUnknown, (void**) &pUnk);
Then I use this COM object to retrieve the text object.
The problem I have is :
My app use a winword.exe process/automation/text object.
If the user open a word document, then,
the MS word document will use the process winword.exe of my app.
Then the user has a disturbing effect (flash effect) of
my automation functions.
I tried to :
.. avoid the user opening a word document using the process I created to
have two seperate
process : failure
.. secure my process (unusable process by other) : not succeeded.
.. have a full invisible automation process : not succeeded
I thank you very much from your advise
Jack Y. Boat