| 1 |
src/bin/pgevent/README |
| 2 |
|
| 3 |
pgevent |
| 4 |
======= |
| 5 |
|
| 6 |
MSG00001.bin is a binary file, result of Microsoft MC compiler. MC compiler |
| 7 |
can be downloaded for free with MS Core SDK but it is not included with MSYS |
| 8 |
tools and I didn't find an alternative way to compile MC file. |
| 9 |
|
| 10 |
To summarize: the command "MC pgmsgevent.mc" generates pgmsgevent.h, |
| 11 |
pgmsgevent.rc, and MSG00001.bin files. In MC file, we declare a string |
| 12 |
with %s format, so we can write anything we want in the future without |
| 13 |
needing to change the definition of this string. |
| 14 |
|
| 15 |
To finish, because DllUnregisterServer and DllRegisterServer are system |
| 16 |
defined entry points, we need to export these two functions with their names |
| 17 |
without "decoration", so we cannot use auto generated .def files without |
| 18 |
handy modifications. |
| 19 |
|
| 20 |
Laurent Ballester |