How to compile Harbour exe file as service ?

237 views
Skip to first unread message

Michael

unread,
Aug 28, 2021, 11:40:48 AM8/28/21
to Harbour Users

Hello,

I need start harbour exe file as service.
If You know please tell me


Best Regards

Ronaldo Geniais

unread,
Aug 30, 2021, 9:45:38 AM8/30/21
to Harbour Users
Hello
to run an application as a service,
 I used a tip from another colleague, 
"nssm - non sucking service manager".

Appliserver

unread,
Aug 31, 2021, 1:24:38 AM8/31/21
to harbou...@googlegroups.com
You can search the net for AppToService, a small program that does
exactly that. It creates a service and puts your program inside it.

It is veeery old anyway (it dates back to 2000)

HTH

Dan
> --
>

oleksa

unread,
Aug 31, 2021, 6:14:02 AM8/31/21
to harbou...@googlegroups.com
Hi!

You can look at https://github.com/harbour/core/blob/master/contrib/hbnetio/utils/hbnetio/_winsvc.prg, hbnetio may to starts as a windows service.

Regards,
Oleksii Myronenko

28 серпня 2021, 18:40:51, від "Michael" <michael2...@gmail.com>:

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/a8833a6d-00bb-49cd-8506-ebc0eb682820n%40googlegroups.com.

Jiju Chackungal

unread,
Aug 31, 2021, 11:46:58 PM8/31/21
to Harbour Users
Michael,
Check this \hb32\contrib\hbwin\tests\service.prg by Jose Luis Capel.
The best example to understand and write your own Harbour Service Applications!
Simple and easy to understand the 'Service' concept.

Cheers,
JC

Michael

unread,
Sep 8, 2021, 5:56:15 AM9/8/21
to Harbour Users

Hello,

Thanks for all answer ;)

Best Regards
Reply all
Reply to author
Forward
0 new messages