高级会员
注册日期: 06-11
帖子: 1527
精华: 15
现金: 6353 标准币
资产: 6353 标准币
|
Earl,how to resolve the error as "Unable to read write-only property"?
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
|