高级会员
注册日期: 06-11
帖子: 1527
精华: 15
现金: 6353 标准币
资产: 6353 标准币
|
回复: 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
|