主题: 【转帖】cou
查看单个帖子
旧 2009-05-04, 06:24 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)