c# - how to start a windows form application from a windows service -
i trying call windows form app using system.diagnostics.process, path pointing bin exe is.
the exe run, gui not showing. checked task manager , found process under background service.
the plan windows service call gui app.
starting windows vista , windows server 2008, there thing called session 0 isolation, not allow windows services interact applications @ gui level, security reasons.
to work around issue, must deploy cross process communication techniques, using named pipes, network sockets, memory mapped files, etc.
also, windows services adequate permissions, there option of spawning process logged in user, duplicating security token. see this answer.
Comments
Post a Comment