查看单个帖子
旧 2007-05-21, 09:19 AM   #2
yogy
高级会员
 
注册日期: 06-11
帖子: 1527
精华: 15
现金: 6353 标准币
资产: 6353 标准币
yogy 向着好的方向发展
默认 回复: How to start SW 2007 or SW 20006 via SW API? If I have two different versions of SW

R:
Hello,
I think you’ll get the result you are looking for if you call CreateDispatch with the version-specific ProgID for SW2007. For example, in my registry under the CLSID for SldWorks 2007 Application, I have for VersionIndependentProgID: “SldWorks.Application”, but for ProgID, I have “SldWorks.Application.15”.


Joe

yogy离线中   回复时引用此帖