Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: Re: Re: (tye)Re: Running Perl code from a Windows serviceby $code or die (Deacon) |
on Sep 19, 2001 at 21:12 UTC ( [id://113410]=note: print w/replies, xml ) | Need Help?? |
You are probably right, I haven't tried MessageBox in a service. I am slightly confused about the model you describe. Are you saying that the service should spawn a process in the context of the current logged on user so the user can interact with it? I am not disagreeing with you here, just seeking clarification. It sounds complicated - what happens when the user logs off? Do you kill the process and spawn a new one with the new logged on user? Personally, I agree that a service shouldn't need access to the desktop. All the services I have written have been completely in the background, and if I've needed to interact with it, I use a client with sockets or something. But your model sounds a bit confusing. Unless we're talking about the same thing. What do you mean by "Another program, running as a normal program " Simon Flack ($code or die) $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$, =~y'_"' ';eval"die";print $_,lc substr$@,0,3;
In Section
Seekers of Perl Wisdom
|
|