NTEventLogAppender.dll which provides access to the Win32 Event Log API methods used by NTEveltLogAppender.java was built with a BAT file and required a Microsoft compiler. This enhancement adds a build.nt target to build.xml using MinGW, adds a simple test to the test suite and adds the generated DLL to the distribution. The Microsoft Message Compiler (mc.exe) and MinGW need to be available on the path. The message compiler is available in the Platform SDK as well as Visual Studio.
Also added version info to the dll.
In rev 372945 (trunk) and 372949 (branches/v1_2-branch) committed output of Microsoft Message Compiler compilation of EventLogCategories.mc into src/java/org/apache/log4j/nt which allows building NTEventLogAppender.dll without having the Microsoft Platform SDK on the path, only MinGW is needed. If changes need to be made to EventLogCategories.mc, to regenerate EventLogCategories.rc, .h and MSG00001.bin, run "update.nt.msg" and commit changes.
*** Bug 38203 has been marked as a duplicate of this bug. ***
*** Bug 38204 has been marked as a duplicate of this bug. ***