- 使用OutputDebugString() 但是只能使用在debug模式下用debug view来看代码。自己本想写个简单的文件日志。但发现FTPMP中已然有了。FTPMP自己封装了debug功能的代码,在Platform_win32.c中。void DebugMessage(const tchar_t* Msg,...)。 C也这么多年了,不知道有没有向log4j那样的好东西。
- 使用wcstok() 从unicode字符串中分割字串时总是出错。
- 弹出对话框很简单了。 MessageBox(NULL, Content, Title, MB_OK|MB_SETFOREGROUND|MB_TOPMOST);
这是一篇关于OutputDebugString()的文章:http://www.unixwiz.net/techtips/outputdebugstring.html 翻译的:http://sluttery.spaces.live.com/blog/cns!3569FEA80C717FD4!655.entry

