Problem allowing service to interact with desktop

Blaine

New member
Joined
Jan 19, 2010
Messages
1
Programming Experience
5-10
I developed a windows service. My service launhes other application. The other application shows a form.

The service starts using local system account. I checked the "Allow Interact with Desktop" checkbox. When the system starts the service starts too and launches the other application. When I login I saw the form, but if I close the session and login again, the application crashes.

I unchecked the "allow interact with desktop" checkbox. With this,
when the service starts, it launches the application. After login, the form isn't showed. It's normal because I didn't check the "allow interact with desktop" checkbox, but If I close the session and after login again, the application continues working well, it doesn't show the form but it's working fine.

Why is crashing when allow interact checkbox is checked?
is there a solution for this problem?
 
Last edited:
Back
Top