Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows service and mingw

Is there possibility to compile windows service using only mingw c++ compiler and library?

I assume that it is possible to use compiler with Visual Studio standard library and means, but want to do to this almost fully opensourced.

Any experience?

like image 299
Vasiliy Stavenko Avatar asked Feb 28 '23 09:02

Vasiliy Stavenko


1 Answers

Since you can build programs with the Windows Platform SDK (or whatever it's called today) using MinGW, you can build Win32 services.

Services are just Win32 programs with some specific protocols used to register them with the system and interact with the operating system's service controller.

like image 101
Michael Burr Avatar answered Mar 08 '23 05:03

Michael Burr