postgresql/src/bin/pgevent
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
..
MSG00001.bin Remove bogus trailing dot from eventlog output, per Andreas. 2004-08-07 17:55:59 +00:00
Makefile Add PGFILEDESC description to Makefiles for all /contrib executables. 2010-05-12 11:33:10 +00:00
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pgevent.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pgevent.def pgevent fixes: 2006-10-03 22:12:14 +00:00
pgmsgevent.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pgmsgevent.mc Remove bogus trailing dot from eventlog output, per Andreas. 2004-08-07 17:55:59 +00:00
pgmsgevent.rc Add Win32 version info to client binaries. 2004-10-05 19:30:25 +00:00

README

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