查看单个帖子
旧 2009-05-05, 09:59 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】exception in safeopenobject90

exception in safeopenobject()
exception in safeopenobject()
im geting a problem in safeopenobject(). following line throws an exception...
->getlayertableid().safeopenobject(oddb::kforread );
i just upgraded my project to unicode and upgraded dwg from 1.14 to dwg2.0.3 but still i was getting the same exception and when i upgraded to dwg2.02 the error remains intact.
what should i do? this roblem is bugging me for a long time now...
last edited by aliance; 13th december 2007 at 04:36 amfff">.
what exception?
vladimir
its throwing an exception "ewaserased".
layer table was erased?
what are you doing with it?
perhaps you can localize the problem, and send us a simple sample to reproduce the problem? (or, better, modify our sample and post modification)
vladimir
don't look at me like that... i just defined unicode to my previously non unicode project and upgraded it... till the time it was non-unicode this function was working fine... jus after doing this i'm getting an exception... is it a problem of unicode?
quote:
is it a problem of unicode?
how can i say?
vladimir
hmm thank anyways ...i guess not a problem of unicode as safeopenobject() as it is working fine when i use ->getmodelspaceid.safeopenobject().
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)