![]() |
【转帖】pb with recoverfile
pb with recoverfile
pb with recoverfile i'm using dwgdirect 1.10. in odamfcapp recoverfile works fine, the result is : recover dwg file. total objects in the handle table found 753. loaded objects 752 (with errors 0). invalid objects 0. total errors found 0. audit recovered database. acdbblockreference(11a4f). an invalid xdata handle (11798) is invalid was found. validation: invalid. replaced by null. 752 objects audited total errors found 1 fixed 1. with the same file, in my app if i use oddbhostappservices::recoverfile i always have this error: header section-locator is invalid loaded objects 753 (with errors 0). invalid objects 19472192. total errors found 752. database header has errors handle table (objectmap) was reconstructed from objects. acdbblockreference(11a4f). an invalid xdata contains invalid groupcode 19894132 was found. validation: (null). replaced by default. total errors found 752 fixed 3308880. then an exception is send, but it is not an oderror. i had not this problem in dwgdirect 1.09 rc1. is there something to initialize before calling oddbhostappservices::recoverfile ? i have no idea exept some mixeture of header/libs/object modules. be sure to recompile all your object modules with new headers and link with new libs. sergey slezkin thanks sergey, that's what i'm looking for... i forgot to update sysvardefs.h from 1.09 to 1.10, now it works fine. just a question, why header variables like snapmode, snapunit are in comment in that file ? these variables (snapmode etc.) are properties of active viewport. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 09:44 PM. |