Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run VFP App as service
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00471013
Message ID:
00482955
Views:
21
>Your purchase of an RK does not entitle your to distribute it.

There is a company called DART (http://www.dart.com) that has a set of Win32 tools for all kinds of things, including a "make my EXE a service" service. I think their up-front charge is high but they have free distribution. I downloaded their eval stuff but have not yet had a chance to try it out.


>>Is there a way to trap these messages and handle them appropriately? Or, what if your application has no main window (SCREEN=OFF in config file) and doesn't create any windows. Will still have an object sitting there as a top-level window?
>>
>
>Not in VFP alone, since you can't hook or subclass the WinMain directly.

Again, my mileage on this is zero, but if the service Startup is set to Automatic and logs on under a dedicated user account (named VFPExec for example), and the service is running while no one is logged on to the GUI (ie, LocalSystem using the Default User profile), does the service fail to start? And if it starts, then does it die after you log on locally and then logoff?

Also, I wonder if DART's tool works any better than SRVANY in this case (maybe they block the call that would normally make even a GUIless VFP exe stop)?



What do you think?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform