查看单个帖子
旧 2009-05-07, 06:54 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】whats Mean That The Crc Does Not Match

what's mean that the crc does not match?
what's mean that the crc does not match?
hi, when i use the example odreadex to read a file, it throws an exception:the crc does not match. what's mean is this?
crc checking is enabled as default in odcopyex.
in autocad it is normaly disabled by default, so it will read the file although it has a wrong crc.
to disable it in odcopyex you'll have to overload the default implementation.
class myservices
{
virtual bool dofullcrccheck() { return false; }
}
regards
thanks ime, it works. but there are some assertion, such as "ncrccur == ncrc" failed. how to resolve it ?
regard
the assertion occurs only in debug build to inform that the file is not absolutely correct. ignore it.
sergey slezkin
thanks!
regards!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)