[Win32utils-devel] [Fwd: [ruby] win32-service : RegisterServiceCtrlHandlerEx]

Patrick Hurley phurley at gmail.com
Wed Jun 28 07:28:44 EDT 2006


On 6/28/06, Heesob Park <phasis at gmail.com> wrote:
> But there is one problem. If you use RegisterServiceCtrlHandlerEx in
> win32-service, you cannot compile it with VC++ 6.0.

That is not completely true. We could dynamically call it out of
advapi32.lib (using LoadLibrary/GetProcAddress). It is a bit of a
pain, but completely doable -- sort of like DL for C.

pth


More information about the win32utils-devel mailing list