查看单个帖子
旧 2008-07-20, 11:27 PM   #4
huangyhg
超级版主
 
huangyhg的头像
 
注册日期: 04-03
帖子: 18592
精华: 36
现金: 249466 标准币
资产: 1080358888 标准币
huangyhg 向着好的方向发展
默认 回复: 如何在程序中关闭sw?

m_SldWorks.CloseDoc(filepath);///////////I have close the doc
> This means to close SW document (part, assembly, etc.), not but terminate SW application.

add a call exitApp if you plan to terminate SW application.

m_SldWorks.ReleaseDispatch();//////make the sw application end,but it doesn’t work m_SldWorks.ExitApp();
__________________
借用达朗贝尔的名言:前进吧,你会得到信心!
[url="http://www.dimcax.com"]几何尺寸与公差标准[/url]
huangyhg离线中   回复时引用此帖