高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】a dwg file problem
a dwg file problem
a dwg file problem
hi forum,
you will find attached to this thread debugu.dwg which is correctly loaded by autocad 2004. however, when i try to load it in odamfcappdll, i have got a "dwg object improperly read" message. i use dwgdirect 1.14.1.0.
i thank you in advance for your investigation.
best regards.
attached files
hi,
dwg contains 2 invalid ole objects. dd skips them and fires warnings, acad just silently skip them. you are free to ignore dd's warnings.
no warning but exception instead
when i try try to load this dwg file in odamfcappdll the oddbhostappservices::readfile method throws an exception.
so i cannot get the oddbdatabaseptr which should be returned by readfile !
how can you load this file ?
sorry, i checked it in current 1.14 version where crash was fixed to fire warnings.
in 1.14.1.0 file can be loaded by dd in recover mode (odamfcappdll->file->recover).
|