M
mjoe
I am unable to retrieve the Name, Path, or FullName properties
from a Word Document object with a COM Addin written in C++.
Using an ATL application, when trying to retrieve the above
properties from the document object passed to the DocumentChange
event, I get error code 0x800adf21 or 0x800a8029.
To reproduce this, use any document with a Checkbox control
embedded in the document. The error only occurs when dealing
with documents with this control on them.
This also only happens with a C++ written addin. If I do the same
exact thing with a VB addin, it works like a charm.
Also, the property retrieval works fine later -- only on the
document passed during DocumentChange does it fail.
Any ideas why this would be? Any workarounds?
-M-
from a Word Document object with a COM Addin written in C++.
Using an ATL application, when trying to retrieve the above
properties from the document object passed to the DocumentChange
event, I get error code 0x800adf21 or 0x800a8029.
To reproduce this, use any document with a Checkbox control
embedded in the document. The error only occurs when dealing
with documents with this control on them.
This also only happens with a C++ written addin. If I do the same
exact thing with a VB addin, it works like a charm.
Also, the property retrieval works fine later -- only on the
document passed during DocumentChange does it fail.
Any ideas why this would be? Any workarounds?
-M-