Skip to content

daiybh/LogManager

Repository files navigation

========================================================================
       MICROSOFT FOUNDATION CLASS LIBRARY : LogManager
========================================================================


AppWizard has created this LogManager DLL for you.  This DLL not only
demonstrates the basics of using the Microsoft Foundation classes but
is also a starting point for writing your DLL.

This file contains a summary of what you will find in each of the files that
make up your LogManager DLL.

LogManager.dsp
    This file (the project file) contains information at the project level and
    is used to build a single project or subproject. Other users can share the
    project (.dsp) file, but they should export the makefiles locally.

LogManager.cpp
    This is the main DLL source file that contains the definition of
	DllMain().


LogManager.rc
    This is a listing of all of the Microsoft Windows resources that the
    program uses.  It includes the icons, bitmaps, and cursors that are stored
    in the RES subdirectory.  This file can be directly edited in Microsoft
	Visual C++.

LogManager.clw
    This file contains information used by ClassWizard to edit existing
    classes or add new classes.  ClassWizard also uses this file to store
    information needed to create and edit message maps and dialog data
    maps and to create prototype member functions.

res\LogManager.rc2
    This file contains resources that are not edited by Microsoft 
	Visual C++.  You should place all resources not editable by
	the resource editor in this file.

LogManager.def
    This file contains information about the DLL that must be
    provided to run with Microsoft Windows.  It defines parameters
    such as the name and description of the DLL.  It also exports
	functions from the DLL.

/////////////////////////////////////////////////////////////////////////////
Other standard files:

StdAfx.h, StdAfx.cpp
    These files are used to build a precompiled header (PCH) file
    named LogManager.pch and a precompiled types file named StdAfx.obj.

Resource.h
    This is the standard header file, which defines new resource IDs.
    Microsoft Visual C++ reads and updates this file.

/////////////////////////////////////////////////////////////////////////////
Other notes:

AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.

/////////////////////////////////////////////////////////////////////////////

v1, 0, 0, 3 -- lp 20090519
完善日志库

v1, 0, 0, 4 -- lp 20090520
写文件该为WINDOWS API,并用共享读打开

v1, 0, 1, 5 -- lp 20090609
修改GET FILE SIZE的BUG

v1, 0, 1, 6 -- lp 20090617
GET LOG DIR 路径为空判为失败

v1, 0, 2, 7 -- lp 20090706
日志一个文件写满后,自动切换文件写会直接SEEK到文件尾的BUG

v1, 1, 3, 8 -- lp 20090727
将日志库改为UNICODE,并采用STDIOFILE写日志

v1, 2, 4, 9 -- lp 20090728
添加UNICODE版本

v1, 2, 5, 10 -- lp 20090825
当警告日志或流程日志开线程未成功时,不进行PUT MESSAGE,下次重试。避免死锁。

v1.2.6.11 -- zjs 20091223
VS2008编译兼容版本

dk 20111206 1420
linux下查找文件名时,如果文件名中没有点时,会崩溃

Releases

No releases published

Packages

No packages published