|
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 |
|