hmg application in service mode, possible?
Moderator: Rathinagiri
hmg application in service mode, possible?
Hello Experts!
I was here a long time ago, welcome to everyone!
I wrote one client - server application, used a "Hmgtalk" sample.
I want to use the "Talkserver.exe" on Windows server 2003 SBS, in service mode.
Because in normal mode it's closed after the user logged off.
How can I compile my HMG project to service application?
I tried instsrv.exe from the "windows resource kit". It's working fine on Windows XP, but doesn't put my apps to service mode in win2003 server.
What's wrong in this procedure?
Any idea?
Thanks for help...
Leslie
I was here a long time ago, welcome to everyone!
I wrote one client - server application, used a "Hmgtalk" sample.
I want to use the "Talkserver.exe" on Windows server 2003 SBS, in service mode.
Because in normal mode it's closed after the user logged off.
How can I compile my HMG project to service application?
I tried instsrv.exe from the "windows resource kit". It's working fine on Windows XP, but doesn't put my apps to service mode in win2003 server.
What's wrong in this procedure?
Any idea?
Thanks for help...
Leslie
Re: hmg application in service mode, possible?
Hi,
May be the following link is of some help to you:
http://blog.super-networking.net/2008/0 ... rver-2003/
Hope that helps,
Warm regards,
Jayadev
May be the following link is of some help to you:
http://blog.super-networking.net/2008/0 ... rver-2003/
Hope that helps,
Warm regards,
Jayadev
Re: hmg application in service mode, possible?
Hallo Jayadev!
Thank you for your reply,
I have this description, I tried it already. The HMG program is started as service, but it is closed, when I logged out from the server console. Unfortunately only on Win server. Under windows XP is working fine, in service mode.
I want to know, how can I make direct service mode compiled file in HMG, if it's possible.
I do not find any info about it...
Best regards,
Leslie
Thank you for your reply,
I have this description, I tried it already. The HMG program is started as service, but it is closed, when I logged out from the server console. Unfortunately only on Win server. Under windows XP is working fine, in service mode.
I want to know, how can I make direct service mode compiled file in HMG, if it's possible.
I do not find any info about it...
Best regards,
Leslie
- karweru
- Posts: 220
- Joined: Fri Aug 01, 2008 1:51 pm
- DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
- Contact:
Re: hmg application in service mode, possible?
Hi Leslie,
Did you ever get a solution to this? If so, kindly share.
Regards
Gilbert.
Did you ever get a solution to this? If so, kindly share.
Regards
Gilbert.
Kind regards,
Gilbert.
Gilbert.
Re: hmg application in service mode, possible?
Hi Karweru!
Unfortunately I did not find any good solution for this problem yet.
If I get it, I will share it.
Regards
Leslie
Unfortunately I did not find any good solution for this problem yet.
If I get it, I will share it.
Regards
Leslie
- karweru
- Posts: 220
- Joined: Fri Aug 01, 2008 1:51 pm
- DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
- Contact:
Re: hmg application in service mode, possible?
I found this https://github.com/vszakats/harbour-cor ... winsvc.prg by Victor. I havbent tried but will and report back
regards
Gilbert
regards
Gilbert
Kind regards,
Gilbert.
Gilbert.
Re: hmg application in service mode, possible?
Wow,
Looks like it's a solution...
If you can try it, pls. share the result.
Thx
Leslie
Looks like it's a solution...
If you can try it, pls. share the result.
Thx
Leslie
- karweru
- Posts: 220
- Joined: Fri Aug 01, 2008 1:51 pm
- DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
- Contact:
Re: hmg application in service mode, possible?
Hi Leslie,
I finally got it going. Please have a look at the code attched. I've tested on Windows 7 professional. The actual functionality is based on code by Viktor (quoted above).
I still got some problems though. I cant start/Stop the server from my code. Also, while I can start the server from windows administrative tools window, I cant stop it. Maybe someone in this forum might point us to the right direction?.
I finally got it going. Please have a look at the code attched. I've tested on Windows 7 professional. The actual functionality is based on code by Viktor (quoted above).
I still got some problems though. I cant start/Stop the server from my code. Also, while I can start the server from windows administrative tools window, I cant stop it. Maybe someone in this forum might point us to the right direction?.
- Attachments
-
- hbNetIO_server.rar
- (1.3 KiB) Downloaded 253 times
Kind regards,
Gilbert.
Gilbert.
- danielmaximiliano
- Posts: 2763
- Joined: Fri Apr 09, 2010 4:53 pm
- DBs Used: DBF
- Location: Argentina
- Contact:
Re: hmg application in service mode, possible?
Hola a todos:
ya tengo la version modificada del ejemplo TalkServer con API REST, despues publico el codigo
ya tengo la version modificada del ejemplo TalkServer con API REST, despues publico el codigo
- Attachments
-
- Captura de pantalla 2026-08-19 184116.png (64.75 KiB) Viewed 168 times
-
- Captura de pantalla 2026-08-19 183627.png (12.36 KiB) Viewed 168 times
-
- Captura de pantalla 2026-08-19 183728.png (88.03 KiB) Viewed 168 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
- danielmaximiliano
- Posts: 2763
- Joined: Fri Apr 09, 2010 4:53 pm
- DBs Used: DBF
- Location: Argentina
- Contact:
Re: hmg application in service mode, possible?
Hola a todos, estoy casi terminando el nuevo TalkServer y Talkclient.
todavia tengo un error ya fue solucionado pero fue introducido de nuevo
todavia tengo un error ya fue solucionado pero fue introducido de nuevo
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace