postgresql/src/bin/pgevent
2012-01-01 19:42:07 -05:00
..
Makefile Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
MSG00001.bin Revert binary change in copyright year adjustment. 2012-01-01 19:42:07 -05:00
pgevent.c Miscellaneous cleanup to silence compiler warnings seen on Mingw. 2011-12-10 18:15:15 -05:00
pgevent.def Support configurable eventlog application names on Windows 2011-10-25 20:02:55 +02:00
pgmsgevent.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pgmsgevent.mc
pgmsgevent.rc
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00

src/bin/pgevent/README

pgevent
=======

MSG000001.bin is a binary file, result of Microsoft MC compiler. MC compiler
can be downloaded for free with MS Core SDK but it is not included with MSYS
tools and I didn't find an alternative way to compile MC file.

To summarize: the command "MC pgmsgevent.mc" generates pgmsgevent.h,
pgmsgevent.rc, and MSG00001.bin files.  In MC file, we declare a string
with %s format, so we can write anything we want in the future without
needing to change the definition of this string.

To finish, because DllUnregisterServer and DllRegisterServer are system
defined entry points, we need to export these two functions with their names
without "decoration", so we cannot use auto generated .def files without
handy modifications.

Laurent Ballester