查看单个帖子
旧 2007-05-20, 09:49 AM   #2
yogy
高级会员
 
注册日期: 06-11
帖子: 1527
精华: 15
现金: 6353 标准币
资产: 6353 标准币
yogy 向着好的方向发展
默认 回复: Earl,how to convert pFace(SldWorks::IFace2Ptr) to dFace(LPDISPATCH & OLE)?

R:
The SldWorks::IFace2 interface is derived from IDispatch. This means that you can use IFace2.AttachDispatch directly or simply use QueryInterface to get the IDispatch pointer from the object and use it in the IFace2 constructor.





Regards,

-Earl
yogy离线中   回复时引用此帖