0

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.

orftz
  • 1,138
  • 13
  • 22

1 Answers1

0

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;)

Community
  • 1
  • 1
Jan
  • 4,366
  • 6
  • 22
  • 21