查看单个帖子
旧 2007-05-20, 09:47 AM   #1
yogy
高级会员
 
注册日期: 06-11
帖子: 1527
精华: 15
现金: 6353 标准币
资产: 6353 标准币
yogy 向着好的方向发展
默认 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
yogy离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)