Get service's own handle in Delphi

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-05-14T17:53:39Z Indexed on 2010/05/14 18:04 UTC
Read the original article Hit count: 244

I'm building a service in Delphi that is intended to run on Windows XP-7 and as part of it, I need to get a handle for the service to use for some windows messages to pass between it and a client app. Using the ServiceThread.Handle doesn't work, so I need to get the handle in another way. Can anyone tell me how to get a usable handle for passing Windows messages around? thanks.

© Stack Overflow or respective owner

Related posts about delphi

Related posts about windows-services