Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a VFP service - actually making it work
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Creating a VFP service - actually making it work
Miscellaneous
Thread ID:
00587501
Message ID:
00587501
Views:
46
There is nary any documentation on doing this in VFP.

I setup a simple little program to test how to create a service in VFP7 using SYS(2340, 1). I created it as an EXE. I installed the Windows 2000 Resource kit and ran the Service Installation Wizard. That went well and it added the 'VFP Service Test' to the services control panel.

The problem I am having is when I start the process in either 'Interact with Desktop' mode or no interation the Service Manager is coming back with:

"Error 1503: The service did not respond to the start or control request in a timely fashion"

The program is actually running in the backgroud the whole time the starting service progress bar is running.

What do I need to do in the program to tell the Service Manager the process has started?

Thanks,
John Gundrum
Sintaks, Canon Business Systems
John Gundrum
Canon Technology Solutions Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform