Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

Running other applications from a NT service

I'm trying to run an application (source safe) from within a service application.

Tried with CreateProcess and WinExec but it doesn't work.
The program is not started.

Any ideas ?

0
winne
Asked:
winne
1 Solution
 
AvonWyssCommented:
Does the service have the "Interact With Desktop" flag set? It may also be necessary to start the service as a specific user instead of the Local Machine account.
0
 
winneAuthor Commented:
will check "Interact With Desktop" flag
but I cannot start the service on a specific user
it doesn't seem to work. I've created a new user in the admin group and used that info in delphi.
It says it cannot find the user...
0
 
geobulCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

accept AvonWyss's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

geobul
EE Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now