几何尺寸与公差论坛

 找回密码
 注册
查看: 805|回复: 0

【转帖】microsoft visual c== runtim library error

[复制链接]
发表于 2009-4-12 21:46:20 | 显示全部楼层 |阅读模式
microsoft visual c++ runtim library error
hi,
i am using solidworks 2007 sp-1.0 software in my windows 2003 server. frequently i am facing an runtime exception while closing the open documents. we have developed an consle application in visual studio 2005 which will automate the solidworks application through the solidworks api.
after creating a tif image for the opened drawing, we are trying to close the drawing by using the closedoc method available in the isldworks class. following is the exception thrown.
runtime error!
program
this application has requested the runtime to terminate it in an unusual way. please contact the applications support team for more information.
can any one please help me on this. your help is greatly appreciated !
thanks
madhavan.m
madhavan,
this message appears when the exception occurs. try stepping inside your code with a debugger and use safe types to prevent unconditional breaks and exceptions.
regards, basil
"and when you loose control,
you'll reap the harvest you have sown..." (c) pink floyd
solidworks 2008 x64 sp5.0 (production)
solidworks 2009 x64 sp2.0 (testing)
windows xp x64 sp2
core2quad 6600, 4gb ram, 500gb sata, ati firegl v7700 1024mb (softmodded from hd3850), 19" tft
madhavan,
hmmm, nice code but... what error code does it return? by the way, why don't you use imodeldoc2->close() instead? try that one and hope you will be ok.
regards,basil
"and when you loose control,
you'll reap the harvest you have sown..." (c) pink floyd
solidworks 2008 x64 sp5.0 (production)
solidworks 2009 x64 sp2.0 (testing)
windows xp x64 sp2
core2quad 6600, 4gb ram, 500gb sata, ati firegl v7700 1024mb (softmodded from hd3850), 19" tft
has anyone come up with a fix to this error?
i found a fix. recovery. backup your files and start over. it worked.
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 10:34 , Processed in 0.035678 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表