P
Philip Chan
After protecting the document, I can't get the number of Shapes of the
document.
The following code doesn't work:
CComPtr<Word::Shapes> pShapes;
hr = doc->get_Shapes(&pShapes);
and the returned hr is E_FAIL.
Can anyone tell the difference of behavior between normal mode and protected
mode?
document.
The following code doesn't work:
CComPtr<Word::Shapes> pShapes;
hr = doc->get_Shapes(&pShapes);
and the returned hr is E_FAIL.
Can anyone tell the difference of behavior between normal mode and protected
mode?