几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】whats Mean That The Crc Does Not Match (http://www.dimcax.com/hust/showthread.php?t=19090)

yang686526 2009-05-07 06:54 PM

【转帖】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!


所有的时间均为北京时间。 现在的时间是 06:59 PM.