Send Message from TService to Standard Exe
Posted on 2005-04-26
I have a Tservice which I would like to send notification of some information to a standard exe. e.g. connection active or not, date of the last update. I havent come to discover many options to do this. If yes, would like to hear from you.
I am thinking about using CreateFileMappnig and use the shared memory to pass data around. However I am stuck at section where the std exe was not able to retrive the map handle after the service has started first. If I start the std exe first, then start the service, the message seems to be sending correctly from the service to the std exe. But if I turn on the service first , then the std app, the message was not received by the std exe.
edit: I am sorry guys, I should have posted this to the Delphi language section. I only realize this after I click submit. And I cant seems to find any link to change the channel to delphi