|
-
March 22nd, 2010, 02:46 PM
#1
Create Process doesn't show any window
Hi there,
i'm having problems creating a process inside a service, which runs as a user (not LocalSystem).
The issue is that it creates the process, but without showing the dialog of the application or the tray icon. I can say that the application works fine, cause it is a kind of alerter that play a sound when an event occurs.
The user is the default user, which it's constantly logged in.
I've tried with both ShellExecute and CreateProcess obtaining the same results.
Running the service as LocalSystem (with the SERVICE_INTERACTIVE_PROCESS flag) instead created the process and showed the dialog and the icon.
I must run it as that specific user cause that executable reads some opts (ie:username) from an .ini which is used by other components.
Have any idea?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|