Getting installed Services on Windows lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- opendelphi · 2019-07-26 19:40 Hi , i was using some sources with delphi to do this job , but actually i didn't find any thing in lazarus to get all installed services on windows . if there is any hint let me know ---------------------------------------------------------------------- opendelphi · 2019-07-28 16:21 i am just curious why this forum is made since no one help each other ! every post i had posted here , got no replies at all , i think i am going back to use delphi even it is paid but at least i got healthy replies from open community ---------------------------------------------------------------------- RAW · 2019-07-28 17:12 Maybe you could be more specific and show some example code that is not working ... I guess that would be much more informative and the results would be a lot better. ---------------------------------------------------------------------- avra · 2019-07-28 18:19 Quote from: opendelphi on July 28, 2019, 06:21:58 pmi am just curious why this forum is made since no one help each otherThis forum was made to answer questions with enough input to be parsed. What did you do so far? Minimal example showing error? Without such info it is hard to help. Saying just that you did it with Delphi leaves too much to guess... https://wiki.freepascal.org/Daemons_and_Services https://www.freepascal.org/~michael/articles/daemons/daemons.pdf ---------------------------------------------------------------------- Remy Lebeau · 2019-07-30 20:08 Quote from: opendelphi on July 26, 2019, 09:40:19 pmi was using some sources with delphi to do this job , but actually i didn't find any thing in lazarus to get all installed services on windows . if there is any hint let me know You need to open access to the Service Control Manager using the Win32 OpenSCManager() function requesting SC_MANAGER_ENUMERATE_SERVICE rights, then you can enumerate the installed services using the EnumServicesStatus() or EnumServicesStatusEx() function.