社区活动 技术论坛 请问版主DMIS的接口文件能不能在DelPhi中用
请问版主DMIS的接口文件能不能在DelPhi中用
2004-10-12 15:41 35 0 4
请问版主DMIS的接口文件能不能在DelPhi中用
我要回复

登陆后才能评论

登录
所有回贴(4)
请问版主DMIS的接口文件能不能在DelPhi中用
2004-10-12 15:41
回复
取消
提交
因為我們這邊都沒有用Delphi,故沒法幫你測試,故建議你自己試試看能不能像vb一樣引用pcdmis tlb文件,測試出后,請將結果發貼告知!謝謝!
2004-10-12 17:21
回复
取消
提交
我只会用VC: void CTestTlbDlg::OnButtonGo() { IApplicationPtr app = NULL; IPartProgramPtr partgram = NULL; ICommandsPtr cmds = NULL; ICommandWrapperPtr cmd = NULL; HRESULT hr = app.CreateInstance(__uuidof(Application)); if (FAILED(hr)) { AfxMessageBox("Create the PCDMIS_application failed!"); return; } partgram = app->ActivePartProgram; cmds = partgram->GetCommands(); CString strID; int nFeature; int nType; CString strCmd; ICommandWrapperPtr prt; for( long index=0; index< cmds->Count; index++ ) {
2004-10-14 16:21
回复
取消
提交
对不起我不懂VC
2004-10-16 10:58
回复
取消
提交
在线咨询
关注我们

海克斯康制造智能

电话咨询
400-6580-400

热线电话(工作时间8:30-17:30)

关注我们 电话咨询 在线咨询

海克斯康制造智能