How do you do that? (WMI)

 

Joseph Biran
____________________________________________

 

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 1:36 PM
To: [email protected]
Subject: Re: [amibroker] Vista and AmiBroker

 

Best to check whether AB has actually shut down or not using
WMI ... If it hasn't or refuses to via OLE it can be
terminated this way as well.

----- Original Message -----
From: Ara Kaloustian 
Date: Tuesday, July 15, 2008 4:20 pm
Subject: Re: [amibroker] Vista and AmiBroker
To: [email protected]

> Ed, I had same problem with XP.
> 
> Mine was clearly caused by shutting down AB using jscript
or OLE 
> . I suppose 
> it was OLE since that runs last.
> 
> I beleive it was the way I was closing AB after processing
data.
> 
> Sorry can not be more specific, but I do know various OS
respond 
> differently 
> to script / OLE.
> 
> currently I use (in OLE):
> To open: AB = new ActiveXObject("Broker.Application")
> To Close: AB.Quit()
> 
> Ara
> 
> ----- Original Message ----- 
> From: "Ed Hoopes" 
> To: 
> Sent: Tuesday, July 15, 2008 1:07 PM
> Subject: [amibroker] Vista and AmiBroker
> 
> 
> >I have a < 1 year old (new to me) laptop running AB 5.13
with the
> > Vista operating system.
> >
> > Twice, when I shut down the computer things go very
wrong with the
> > shutdown hanging and other ??? stuff. When I re-boot 
> AmiBroker is
> > very corrupted, requiring days of re-building things. I 
> understand AB
> > well enough to fix things - probably in a clumsy way,
though.
> >
> > I have been baffled as to why this is happening - but
now I 
> have a
> > hint - I just went to shut things down and my FireFox
browser was
> > still running as a zombie process - not visible in the
app 
> tray or in
> > the Task Manager Applications tab, but visible in the
Process tab.
> > When I killed the process, then the shutdown proceeded.
! 
> (FireFox was
> > smart enough to prompt me that it was still running and
wanted 
> to know
> > what it should do.)
> >
> > HYPOTHESIS - Maybe AB becomes a zombie and corrupts
things 
> when the OS
> > shuts down anyway??
> >
> > Anyone out there having this problem???
> >
> > ReefBreak
> >
> > PS My previous Toshiba laptop with Win XP NEVER did
this.
> > ------------------------------------



Reply via email to