What is event logging? and how do I write an event log file for an application? I want to log all the activities of the application including when it uses a .dll, etc. and also show information of the application.
相关问题
- What is the best way to do a search in a large fil
- how to call a C++ dll from C# windows application
- efficiently calling unmanaged method taking unmana
- Spring Integration - Inbound file endpoint. How to
- php--glob for searching directories and .jpg only
相关文章
- What is the correct way to declare and use a FILE
- Making new files automatically executable?
- How to serialize data into indented json [duplicat
- C++: Callback typedefs with __stdcall in MSVC
- Creating a custom file like object python suggesti
- Is it possible to check whether you are building f
- Which VC++ redistributable package to choose (x86
- Sorting a data stream before writing to file in no
As you write to an event log file, if the file is not created then it will be created write to an event log
I think you mean this and for cpp source: http://msdn.microsoft.com/en-us/library/aa382690(VS.85).aspx
There is a good article on CodeProject.com that should give you the information you need to understand and use the Windows event log.
http://www.codeproject.com/KB/system/xeventlog.aspx
If you don't want to use the Windows event log and log to a text file, etc then take a look at Pantheios.