查看单个帖子
旧 2009-05-07, 03:15 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】runtime Assertion During Readfile In 1.09 But Not In 1.08

runtime assertion during readfile in 1.09 but not in 1.08
runtime assertion during readfile in 1.09 but not in 1.08
i've got a problem reading a dxf file ... but only using the newer dwg direct 1.09 :
oddbdatabaseptr pdb;
pdb = svcs.readfile( csfilename, false, false, oda::ksharedenyno );
this source line throws an unrecoverable exception, which causes the termination of whole program. the exception is :
assertion failed !
file: source/database/dbtransactimpl.cpp
line: 224
expression: invalid execution !
and as i mentioned in the subject title ... is only happens with the new version 1.09. but not, if i'm using the 1.08 version.
this happens too using the examples programs odamdiapp.exe and odamfcapp.exe : 1.08 works fine, 1.09 throws that exception.
any idea what's about that problem ?
best regards, rolf
rolf
can you supply me (support@opendesign.com or attach in here) the dxf file that asserts when read in?
i've mailed the dxf to .
rolf
i've tried the newest downloadable version of dwgdirect 1.09 (libs dated 17.november.2003).
the result is just the same as mentioned in my first email :
odamfcapp, odamdiapp and my program are throwing an exception :
expression: "invalid execution."
file: "source\database\dbtransctimpl.cpp"
line: 224
i've emailed the dxf but there was no response. anybody there who had a look at it ? and may give me a hint please ?
best regards, rolf
rolf

strange - i did not recieve the file. please send it again.
call yourself 'rolf' in the email as well so that i know who you are.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)