Re: Question on exit code of Win32::Process
by Ted Zeng other posts by this author
Nov 2 2005 3:22PM messages near this date
view in the new Beta List Site
Re: Question on exit code of Win32::Process
|
Comparing 2 text files
Hi $Bill,
Thanks. This helps me find a problem.
One more question:
I use a service to launch an application. The service log on
As System. If it log on as a user, it is not allowed to interact with
desktop.
The owner of the launched application is also System. I would like
To have an normal user to be the owner of the application.
Is there a way for the service to log on as an user and still
Be able to launch an application which is able to interact with desktop?
I uses Win32::Daemon for the service.
BTW, I used to use Win2::Process to launch the application.
Now I use System(), because I need to set a variable before I launch the
application. I can execute multiple commands in System().
Ted zeng
On 11/2/05 12:29 PM, "$Bill Luebkert" <dbecoll@[...].net> wrote:
> Ted Zeng wrote:
>
> > Hi,
> >
> > I launch (use Win32::Process) an application as a detached process from
> > a service. And I got
> > The exit code is 3221225477.
> > What does it mean?
>
> That error is a C0000005 which equates to: STATUS_ACCESS_VIOLATION
>
> Link may help explain or search M$ site for C0000005 :
> http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/BookofS
> P1/b0de1052-4101-44c3-a294-4da1bd1ef227.mspx
>
> > The application is supposed to run. But it just launches and quit right
> > away (I can see it from task manager
> > Window).
> >
> > The same scripts work in another machine.
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Michael D Schleif
Michael D Schleif
Chris Wagner
$Bill Luebkert
$Bill Luebkert
Michael D Schleif
$Bill Luebkert
Michael D Schleif
$Bill Luebkert
Michael D Schleif
$Bill Luebkert
James Sluka
Ted Zeng
$Bill Luebkert
Ted Zeng
Paul
Peter Eisengrein
Trevor Joerges
Jim Guion
$Bill Luebkert
James Sluka
$Bill Luebkert
Chris Wagner
|