What does the code do?
The code was designed to log trace statements to a text file for release mode applications at customer sites. At the end of the day the customers emails me the text log.
How do I integrate it with my existing code or how do I use it?
Add LogTrace.lib to the Object/Library modules.
Include header Trace.h to your project.
In your code
TraceStart();
Trace("This is my string value [%s]\n", m_strMessage); //Works like printf or TRACE
There are other functions and options described in trace.h.
If there is a similar article on CodeGuru already, then how does this one differ? Why would someone want to use your version?
There are some good debug tips on the site. But this is more geared towards customer site logging.
Is there some aspect of the code that is of particular interest that perhaps wants to be covered in the documentation and put on the web page?
No, simple code.
Does the code work under UNICODE? If not, is there a reason?
Yes.
What version of MFC was this code built with?
MSVC 5.0
没有合适的资源?快使用搜索试试~ 我知道了~
trace_to_file.zip_trace
共12个文件
h:3个
cpp:3个
txt:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 145 浏览量
2022-09-23
06:17:06
上传
评论
收藏 10KB ZIP 举报
温馨提示
编译与调试技巧源代码:trace_to_file
资源推荐
资源详情
资源评论
收起资源包目录
trace_to_file.zip (12个子文件)
LogTrace
LogTrace.dsp 4KB
Resource.h 408B
res
LogTrace.rc2 400B
Readme.txt 1KB
Trace.h 4KB
StdAfx.cpp 206B
StdAfx.h 1KB
LogTrace.cpp 2KB
LogTrace.rc 3KB
Trace.cpp 7KB
LogTrace.def 389B
www.pudn.com.txt 218B
共 12 条
- 1
资源评论
周楷雯
- 粉丝: 80
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功