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

Re: [amibroker] Re: Multiple Broker.Application instances with multiple CPU machines



PureBytes Links

Trading Reference Links

Hello,

You can't. It involves not exe names but GUIDs stored in the registry.
This is the way how Microsoft designed OLE (exe automation servers).

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "tiedemj" <home@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, January 16, 2007 4:04 PM
Subject: [amibroker] Re: Multiple Broker.Application instances with multiple CPU machines


> OK - Thanks... However, could I rename the modules somewhere, and 
> have a broker1.exe and broker2.exe. Realize I just can't rename the 
> exe files, but some registration in the registry would need to take 
> place... Or should I just leave it and wait for the multiple CPU 
> version? :-)
> 
> Jens
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 
> wrote:
>>
>> Hello,
>> 
>> No, by default all .EXE OLE/COM servers use always first running 
> instance,
>> and you can not change it.
>> 
>> Best regards,
>> Tomasz Janeczko
>> amibroker.com
>> ----- Original Message ----- 
>> From: "tiedemj" <home@xxx>
>> To: <amibroker@xxxxxxxxxxxxxxx>
>> Sent: Monday, January 15, 2007 10:01 PM
>> Subject: [amibroker] Multiple Broker.Application instances with 
> multiple CPU machines
>> 
>> 
>> > Hi, 
>> > When using the 
>> >            Type objClassType;
>> >            objClassType = Type.GetTypeFromProgID
>> > ("Broker.Application");
>> >            application = Activator.CreateInstance(objClassType);
>> > 
>> > interface to access AmiBroker functionality from C# multiple 
> times, it 
>> > seems I only get access to one running instance. Is there a way 
> to 
>> > have more running instances of "broker.exe" - and reference each 
>> > individually from code? This would allow full exploitation of 
> multple 
>> > CPU machines. I have no problem of starting the amibroker 
> application 
>> > normally - and run two optimizations manually.....
>> > 
>> > Any help appreciated.. tx
>> > 
>> > Jens 
>> > 
>> > 
>> > 
>> > 
>> > 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
> 
> 
> 
> 
>

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.13/632 - Release Date: 1/16/2007 4:36 PM