开发者

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

开发者 https://www.devze.com 2023-03-09 07:32 出处:网络
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

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

精彩评论

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

关注公众号