[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Vista and AmiBroker



PureBytes Links

Trading Reference Links

Thank You all for the replies.

What I get is that you should write a short script in some language
that searches the process table before shutdown and make sure that all
occurrences of broker.exe are closed.

RIGHT ?

Thanks,

Ed



--- In amibroker@xxxxxxxxxxxxxxx, ftonetti@xxx wrote:
>
> A VBS implemenation ... 
> 
> Set oWMI = GetObject("WinMgmts://localhost")
> For Each oProcess In oWMI.ExecQuery ("select * from Win32_Process
where name='Broker.EXE'")
>      oProcess.Terminate
> Next
> 
> Careful of the line wraps ...
> 
> ----- Original Message -----
> From: "J. Biran" 
> Date: Tuesday, July 15, 2008 4:50 pm
> Subject: RE: [amibroker] Vista and AmiBroker
> To: amibroker@xxxxxxxxxxxxxxx
> 
> > How do you do that? (WMI)
> > 
> > 
> > 
> > Joseph Biran
> > ____________________________________________
> > 
> > 
> > 
> > From: amibroker@xxxxxxxxxxxxxxx
> > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of
> > ftonetti@xxx
> > Sent: Tuesday, July 15, 2008 1:36 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > 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: amibroker@xxxxxxxxxxxxxxx
> > 
> > > 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.
> > > > ------------------------------------
> > 
> > 
> > 
> >
>



------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/