![]() |
How to start SW 2007 or SW 20006 via SW API? If I have two different versions of SW
Q:
Subject: How to start SW 2007 or SW 20006 via SW API? If I have two different versions of SW, SR: 1-447044967. I installed SW 2006 after I had installed SW 2007. Now I had two different versions of SW in my local server. I want to run SW 2007 or other version via SW API. If I call CreateDispatch(_T("SldWorks.Application")), SW 2006 as the default version will be started. How to start SW 2007 via SW API? 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 |
所有的时间均为北京时间。 现在的时间是 10:31 PM. |