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

exceptions
exceptions
running vs2005 / 2.5.1 libs
when i run my application in debug mode i see this:
first-chance exception at 0x7c812a5b in stockvolcalc.exe: microsoft c++ exception: oderror_duplicaterecordname at memory location 0x0012e968..
first-chance exception at 0x7c812a5b in stockvolcalc.exe: microsoft c++ exception: oderror_duplicaterecordname at memory location 0x0012e9f0..
first-chance exception at 0x7c812a5b in stockvolcalc.exe: microsoft c++ exception: oderror_duplicaterecordname at memory location 0x0012e9f0..
please clarify what the problem is. the application appears to work correct.
please, check audit results...
if mean i should run audit inside autocad, when that does not show any errors at all.
these files are already created. i simply load them up for processing as i required.
andrew
perhaps you are loading a file with xref.
such exceptions are common while resolving xrefs.
they are handled internally.
vladimir
no. these are very simple dxf files with 3d polyline contours in them. each dxf file is not xreffed to anything else.
my application reads each dxf file using dwgdirect and performs operations with the contours and creates a report.
as i mentioned, this works with no erros so i don't understand why these first-chance exceptions are being presented. they also show in release mode.
if i run it in vc6 instead, the warnings are a little different:
first-chance exception in stockvolcalc.exe (kernel32.dll): 0xe06d7363: microsoft c++ exception.
first-chance exception in stockvolcalc.exe (kernel32.dll): 0xe06d7363: microsoft c++ exception.
first-chance exception in stockvolcalc.exe (kernel32.dll): 0xe06d7363: microsoft c++ exception.
concerning vs2005, how can i actually find what it is talking about? ie: where in my code?
could you attach it please ?
here is the dxf. it is release 12 format i think.
attached files (268.7 kb, 2 views)

hi,
file is ok. exceptions are valid too. it is internal dwgdirect functionality.
thank you for confirming my application is running acceptably.
andrew
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)