Hi all,
I've written a service application and need to write a configuration program to adjust some of the service's settings. The service retrieves it's values from the registry.
In the past I've done this by either having the configuration program simply write to the registry and force the user to the stop and restart the service, or by implementing a TCP server in the service application and communicating that way. That has the advantage of allowing me to do remote configuring.
But - having started learning about windows messages and reading up on it, I'm thinking this would be a more efficient way of having my configuration program communicate with the running service application to upload new settings to it. I've read the Delphi help and understand how messages work, but not how to implement them in an inter-application environment - specifically with declaring a common MsgID for them to use.
Can anyone give me some links or pointers, or sample code?
Many thanks.
I've written a service application and need to write a configuration program to adjust some of the service's settings. The service retrieves it's values from the registry.
In the past I've done this by either having the configuration program simply write to the registry and force the user to the stop and restart the service, or by implementing a TCP server in the service application and communicating that way. That has the advantage of allowing me to do remote configuring.
But - having started learning about windows messages and reading up on it, I'm thinking this would be a more efficient way of having my configuration program communicate with the running service application to upload new settings to it. I've read the Delphi help and understand how messages work, but not how to implement them in an inter-application environment - specifically with declaring a common MsgID for them to use.
Can anyone give me some links or pointers, or sample code?
Many thanks.