Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Running other applications from a NT service

Posted on 2001-09-17
4
136 Views
Last Modified: 2010-04-06
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
Comment
Question by:winne
4 Comments
 
LVL 14

Accepted Solution

by:
AvonWyss earned 200 total points
ID: 6487194
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
 

Author Comment

by:winne
ID: 6496294
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
 
LVL 17

Expert Comment

by:geobul
ID: 9308077
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Best Firemonkey component pack 1 119
Making delphi communicate with a c# service 16 111
PHP preg_replace code convert to Delphi 14 66
enhance the following code 3 37
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question