D
Dhina
Hi,
The API 'OleCreateLinkToFile' method was used to create a link to the Word
file. The instance of the WinWord.exe created by OLE method, during the above
mentioned method call is not destroyed properly, once the method execution
completed i.e (after creating a link to the document). This specifically
happened only when there is a Field (custom word field) added in the Word
document, where Track Changes is switched ON.
Problem with Word 2003 & 2007 (OS - All). Using Delphi environment.
Code Sample:
OleCreateFromFile(GUID_NULL, PWideChar(FileName), IOleObject, 1, nil, Self,
FStorage, FOleObject));
'Self' above refers to a OLEcontainer.
Thanks,
Dhina
The API 'OleCreateLinkToFile' method was used to create a link to the Word
file. The instance of the WinWord.exe created by OLE method, during the above
mentioned method call is not destroyed properly, once the method execution
completed i.e (after creating a link to the document). This specifically
happened only when there is a Field (custom word field) added in the Word
document, where Track Changes is switched ON.
Problem with Word 2003 & 2007 (OS - All). Using Delphi environment.
Code Sample:
OleCreateFromFile(GUID_NULL, PWideChar(FileName), IOleObject, 1, nil, Self,
FStorage, FOleObject));
'Self' above refers to a OLEcontainer.
Thanks,
Dhina