Q:
Subject: Earl,how to resolve the error as "Unable to read write-only property"? SR:1-407938223
Dear,
Thanks.
But, I get an error as “Unable to read write-only property” when add a call to body.EnumFaces. How to resolve the error?
My code as fllows:
LPUNKNOWN pFaces = NULL;
pFaces = swBody.EnumFaces();
LPDISPATCH *dFaces = NULL;
pFaces->QueryInterface(IID_IDispatch, (LPVOID*)&dFaces);
Sence:
SW API OLE & VC++
Yogy |