Need to execute an Exe when a service starts
-
Hi, I need to exceute an Exe when the postgres service starts . Is it possible to configure in registry or is there any other means to launch an exe when service starts. Thanks
-
Hi, I need to exceute an Exe when the postgres service starts . Is it possible to configure in registry or is there any other means to launch an exe when service starts. Thanks
There's one simple and dirty way to achieve it. It's to make a postgress service wrapper program and replace the original service with new one. Then you can detect the time when the service started.
-
Hi, I need to exceute an Exe when the postgres service starts . Is it possible to configure in registry or is there any other means to launch an exe when service starts. Thanks
match the prameter (LPCTSTR lpBinaryPathName) of API CreateService()
You know some birds are not meant to be caged, their feathers are just too bright.