高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】dwg reading exception
dwg reading exception
dwg reading exception
hi,
i use the latest version of dwgdirect(2.04.01). when i use it to read the dwg file(k22.8.05a.dwg) some assertion(debug) was thrown, and nothing was read.
but the pre-version(2.01.01) work well.
can somebody help me?
thank you very much.
attached images
assertion is a diagnostic message to inform about some unexpected situation. it's absent in release configuration.
in debug it can be ignored. but default (c run-time) implementation for console applications terminated the program.
you can use odsetassertfunc() (diagnostics.h) to substitute your own function and avoid program termination.
in particular case you described the reason of assertion is incorrect diagnostics (occurs only in vc6 seems to be caused by compiler bug). you can ignore it.
sergey slezkin
thank you very much
thanks! i will follow your advice.
btw
ziyueban is my username of this forum. i have change my email address several days before. but there is no any assert mail was accept untill now, so i register new on (caxa-ziyueban) to say thanks for your advice.
|