Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • 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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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