It’s not possible directly. The service manager needs multi-threaded support.
Use FireDaemon (http://www.firedaemon.com/). If you sell your app, purchase ISV license, it’s quite reasonably priced.
With some small adjustments, it’s doable. Most importantly is to have the one main window that receives WM_CLOSE messages from FireDaemon. Also, don’t bring up message boxes or similar – nobody can click OK.
For development, I suggest using Windows XP to test. On XP you can tell the service to interact with the desktop, so you can actually see your app and see if
some window is giving problems. On Vista and newer due to the new security features it’s not that easy for a service to share the same Windows session as the logged-on user.
Hope this helps.
-- Todor
From: Using Visual Smalltalk for Windows/Enterprise [mailto:[hidden email]]
On Behalf Of Carl Gundel
Sent: 12. juli 2013 20:50
To: [hidden email]
Subject: Visual Smalltalk as a Windows service?
Anyone here had any experience creating an application with VSE that will run as a Windows service? Did you succeed, or crash and burn?
Thanks,
-Carl Gundel
*** this signature added by listserv *** *** Visit
http://www.listserv.dfn.de/archives/vswe-l.html *** *** for archive browsing and VSWE-L membership management ***
*** this signature added by listserv ***
*** Visit http://www.listserv.dfn.de/archives/vswe-l.html ***
*** for archive browsing and VSWE-L membership management ***