![]() |
【转帖】debug assert 9odtimestamp.cpp0 during readfile90
debug assert (odtimestamp.cpp) during readfile()
debug assert (odtimestamp.cpp) during readfile() hello, when i call readfile using a particular .dxf file, i get a debug assertion at odtimestamp.cpp (line 402). if i ignore the assertion, the file seems to be read with no problems. this happens in my program and the mfc sample program. autocad loads the file successfully. given the name of the file where the assertion happens, i assume that the input file contains an invalid time or date. is this correct? will this also cause a crash in a release build? (i kind of assume not, since ignoring the assertion doesn't seem to have any adverse affects.) i tried to attach the file, but was not able to. if you need it, i would be happy to send it directly via e-mail if you provide an address. thanks, bob without the file it is hard to say what's wrong, but it is most probably the wrong date in header. acad silently heals such errors while loading dxf. if ignoring the asssert works in debug, then in release there would be no error. vladimir |
所有的时间均为北京时间。 现在的时间是 03:26 AM. |