|
From: Frank M. <fra...@gm...> - 2007-08-22 10:07:44
|
hi, i want to implement my java service with "wrapper.ntservice.interactive=false" (for security reasons and because vista doesn't allow this anymore). When a user logs into the system, the service process should start a separate plain user java process (not a second service) for this user (via JNI) with the windows API "CreateProcessAsUser". This process should paint the trayIcon and communicate with the service process via sockets or named pipes. But to achieve this, the service process needs to be triggered, if a user logs into the system and the userID of this user to be able to call the "CreateProcessAsUser" Win32 API function. I've found a logoff and a shutdown event, but no login event (and also no boot event) in the service wrapper. Has someone an idea how to achieve this? Thanks in advance, Frank -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger |