几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】runtime Assertion During Readfile In 1.09 But Not In 1.08 (http://www.dimcax.com/hust/showthread.php?t=18472)

yang686526 2009-05-07 03:15 PM

【转帖】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.


所有的时间均为北京时间。 现在的时间是 04:17 AM.