开发者

Creating a log file in embedded VC++ using Win32 API

Can any one help me on how to create a log file in embedded VC++ using the Win32 API?

Right now, I'm trying to create multiple file on WinCE PC. For this I need to provide a log file whether a file is created or not. I am able to create a message on console but I need to store that message in a开发者_运维问答 text file instead of displaying for each and every file.


Possibly answered in High performance logging library for embedded applications ?

Ok, I read your question again - in case you cannot pull in a library, you may want to read this one instead: how do I write a logger class with cout style interface (logger << "Error: " << val << endl;)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜