PureBytes Links
Trading Reference Links
|
Gary,
Paraphasing your sentence: if were programmer, you would know that OLE does not "hang" until God knows when.
OLE features timeout mechanism (built-in). Search Microsoft docs/site for further info.
Having said that I have no idea what are you doing that you have any problems with OLE AB.
I have never seen AmiBroker being really busy for longer than
1 second. Even if it runs optimization it is still processing messages and refreshes
charts, real time quote windows and everything else.
The fact is that it won't allow you to run second optimization till first is completed
but it does NOT "hang". It displays appropriate message that you can not run
another optimization while one is running.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Gary" <ghost200_2000@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, April 27, 2007 2:26 PM
Subject: [amibroker] Re: OLE Automation Object Model
> Well no offense, but if you are a programmer you know that you can't
> let an object to loop or "hang" until God knows when it will get done.
>
> Would you use an internet browser and when you type in the url
> address then hit enter and it takes 15 minutes to load the page and
> there is nothing else you can do except wait? You can't even hit the
> cancel/stop button except praying that the page-load would end soon?
> I am just trying to give an idea and may be there will be
> improvements done in the future for AB to have such features.
>
> Gary.
>
> --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxx> wrote:
>>
>> I just told you that there isn't a method like that.
>>
>> I've been using the AB's OLE for > 4 years and haven't had such a
> problem.
>> You need to be careful about using words like "disabilities".
>>
>> d
>>
>> > -----Original Message-----
>> > From: amibroker@xxxxxxxxxxxxxxx
>> > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Gary
>> > Sent: Thursday, April 26, 2007 3:42 PM
>> > To: amibroker@xxxxxxxxxxxxxxx
>> > Subject: [amibroker] Re: OLE Automation Object Model
>> >
>> > Either my App will "hang" or "timed out", unless there is a
> method
>> > that I can call to see if AB is ready (something like 'IsBusy').
>> > But I guess I have to live with AB's disabilities..., not the
> best
>> > way but I guess it could be done...
>> >
>> > Thanks,
>> > Gary.
>> >
>> > --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@> wrote:
>> > >
>> > > If you start your app without AB running then AB will be
> started
>> > and your
>> > > app will "hang" until AB is ready to "go". That's the best
> way.
>> > The way
>> > > you described? No.
>> > >
>> > > d
>> > >
>> > > > -----Original Message-----
>> > > > From: amibroker@xxxxxxxxxxxxxxx
>> > > > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Gary
>> > > > Sent: Thursday, April 26, 2007 3:08 PM
>> > > > To: amibroker@xxxxxxxxxxxxxxx
>> > > > Subject: [amibroker] OLE Automation Object Model
>> > > >
>> > > > If AB instance is started/called from another application,
> when
>> > AB
>> > > > opens for the first time it checks for broker.master, if
>> > > > broker.master
>> > > > does not exist, AB will read broker.groups,
>> > > > broker.industries, etc,etc.
>> > > > Sometimes it takes a moment for AB to do this, is there a
>> > > > method in the
>> > > > OLE Automation that I can call to see if AB is still busy?
>> > (something
>> > > > like: AB.IsRunning() or something that returns true or false).
>> > > >
>> > > > My Application should wait until AB is ready before starting
> to
>> > > > backtest or importing data.
>> > > >
>> > > > Please help...
>> > > >
>> > > > Thanks,
>> > > > Gary.
>> > > >
>> > > >
>> > > >
>> > > > 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
>> > > >
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> >
>> >
>> >
>> > 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
>> >
>> >
>> >
>> >
>>
>
>
>
>
> 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
>
>
>
>
>
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/
|