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

[amibroker] Re: How to install the file Broker4705.tlb ?



PureBytes Links

Trading Reference Links

Hi,

You do NOT have to use early binding. There is some performance 
difference between the early and late bindings, but in this case it 
does not matter.

On the other hand if you use early binding, then your code is 
complied against a specific version of the type lib/com server. If 
the COM server (in this case AmiBroker) has a newer version and the 
COM interface compatibility is broken, than your code is broken as 
well. You have to recompile it against the new type lib... You don't 
want this...

If you use late binding, the COM interface is "discovered" at run 
time (by automation interface called dispatch interface). This cause 
some perf degradation (need additional call at run time), but it is 
safe if the interface methods keept a minimum level of compatibility 
(method signature).

I did not check but from mailing list I suspect that AB keeps only 
method signature level compatibility. The COM interfaces are not kept 
compatible. 

So in this case late binding is the only good choice.

But TJ can shed some light on this for you.

Y


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

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/