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

yang686526 2009-05-04 06:24 PM

【转帖】cou
 
c:\out.txt
c:\out.txt
i now (in dd version 1.13) get a file called "c:\out.txt". it seems to contain debug info for the oda dwg toolkit. is this file produced by the toolkit? is there any doc on how to use/configure/override this debug feature?
if this is a debug dump, then configuring the name of the output file and enabling/disabling it would be nice.
-rune jorgensen
www.dds.no
this file is produced by trace function in debug dd libraries.
to alter tracing function you can use odsettracefunc() - see diagnostics.h
sergey slezkin
i'm a bit sceptical to let the default behaviour of (even a debug build) write a growing file to the root directory. i would prefer the default to be a dummy/nop.
alternatively an odsettracefile(pathname) func. if odsettracefile(null) is called no output is generated. this would be the initial condition.
-rune jorgensen
www.dds.no


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