CATISpecObiect_var CAAMyBaseClass::CopyPrtToPrt(CATISpecObiect_var iSourceToCopy,CATSpecObiect_var itarget_Prt ,CATBoolean iBool)
{
CATMmrlnterPartCopy * pCopy=new CATMmrinterPatCopy(iSourceToCopy,iTarget_Prt); //新建复制
pCopy->SetLinkMode(iBool);
CATUnicodeString ErrorMsg="";
HRESULT rc=pCopy->Run(&ErrorMsg);
CATISpecObiect_var spResult;
pCopy->GetResult(spResult);
spResult>Update();
iTarget_Prt->Update();
return spResult;
}
标签:iBool,对象,pCopy,spResult,Prt,CATISpecObiect,复制,var From: https://www.cnblogs.com/Breadss/p/17248152.html