Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running as service
Message
From
09/08/2002 18:25:51
 
 
To
07/08/2002 15:41:12
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00687224
Message ID:
00688218
Views:
18
>I have this simple program for testing:
>***********
>SYS(2340, 1)
>
>DECLARE Sleep IN kernel32 integer delay
>FOR lnCount = 1 TO 5
> Sleep(2000)
> lcAlias = 'test' + STRTRAN(TIME(), ':', '')
> CREATE TABLE (lcAlias) FREE (ff c(4))
> USE IN (lcAlias)
>ENDFOR
>***********
>
>It works as an executable.
>I added that program to services using that:
>instsvr servicetest \srvany.exe

Make sure your service is defined to work with the administrator account first. If it works in admin mode, then, the problem would be related to rights. Otherwise, it might be in the code.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform