几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】dd performing write operation during read (http://www.dimcax.com/hust/showthread.php?t=15622)

yang686526 2009-05-04 07:04 PM

【转帖】dd performing write operation during read
 
dd performing write operation during read
dd performing write operation during read
i have my own implementation of odrxobjectimpl<odstreambuf> class.
it appears that dd is calling its putbytes() function when i try to read the attached dxf file into my application. this means any users file will be modified by this action!! is this a bug. please take a look.
thanks
alex
attached files
i could not reproduce this behaviour (and it looks highly improbable).
vladimir
quote:
originally posted by wvk
i could not reproduce this behaviour (and it looks highly improbable).
dd doesn't do it with most of the files i have.
but for the attached file, it is doing this. please check with the attached file.
i am using dd1.13.02 on win vc7.
thanks
i tried odamfcapp file/open with this file. "putbytes" was not called.
vladimir
oops...i was messing up with the length() function which resulted in putbytes to be called.
my apologies.


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