Hello,

No, you can't pass static arrays between different processes. Each 
process lives in separate memory space
and is invisible to each other. The only way is to store them to files 
and read them back.

Best regards,
Tomasz Janeczko
amibroker.com

On 2010-02-25 14:22, Rob wrote:
> Thanks Mike.
>
> TJ, I still have one outstanding question that I have no idea about...
>
> 2. Is there a way to pass static arrays between instances of AB...? (I am
> not concerned with execution cycle precision... they just need to be generally
> available)
>
> Any chance of getting some input...?
>
> Many Thanks
>
> --- In [email protected], "Mike"<sfclimb...@...>  wrote:
>    
>> Here's a pointer to a similar conversation that I had with a Vista user. 
>> Probably applies to Windows 7 too:
>>
>> http://finance.groups.yahoo.com/group/amibroker/message/138473
>>
>> No need to log off to run as other user. Just change the credentials at the 
>> time of invoking the command. The thread above should help clarify.
>>
>> Mike
>>
>> --- In [email protected], "Rob"<sidhartha70@>  wrote:
>>      
>>> Mike,
>>>
>>> Thanks for your response.
>>>
>>> I don't have a lot of experience of running multiple user accounts on 
>>> Windows (I'm running windows 7)... I'm doing some googling right now. Can't 
>>> quite find the info I want as of yet.
>>> If running the same program under multiple users without logging out 
>>> easy...?
>>>
>>> Cheers
>>>
>>> Rob
>>>
>>> --- In [email protected], "Mike"<sfclimbers@>  wrote:
>>>        
>>>> Rob,
>>>>
>>>> 1. If you set up multiple user accounts on your machine, each user may run 
>>>> AB simultaneously, with user specific layouts. I have not done extensive 
>>>> testing to see exactly how complete the separation is. But, you can 
>>>> certainly have different windows open. Refer to the setup instructions of 
>>>> IO (in Files section of this group) to see how to create the accounts. If 
>>>> using Windows XP, running as a different user is as simple as right 
>>>> clicking on the desktop icon and selecting Run as...
>>>>
>>>> 2. I'll leave this to someone that's tried.
>>>>
>>>> 3. Last write wins. Whichever instance writes to the database last will 
>>>> have its data preserved. You might want to ask Tomasz in a follow up as to 
>>>> what exactly that means with respect to the original data, AmiBroker's 
>>>> version of the data, etc. (e.g. when using a read only plug-in).
>>>>
>>>> Mike
>>>>
>>>> --- In [email protected], "Rob"<sidhartha70@>  wrote:
>>>>          
>>>>> TJ,
>>>>>
>>>>> I've boiled this down to a few questions if I could pick your (or anyone 
>>>>> else's) brain briefly...
>>>>>
>>>>> 1. Is there a way of having two instances of AB running with different 
>>>>> preferences in terms of which windows are visible or not and the position 
>>>>> of those windows etc...?
>>>>>
>>>>> 2. Is there a way to pass static arrays between instances of AB...? (I am 
>>>>> not concerned with execution cycle precision... they just need to be 
>>>>> generally available)
>>>>>
>>>>> 3. What are the implications of running two instances of AB off the same 
>>>>> DB...?
>>>>>
>>>>> TIA
>>>>>
>>>>> --- In [email protected], "Rob"<sidhartha70@>  wrote:
>>>>>            
>>>>>> If I could add a couple more questions to this query...
>>>>>>
>>>>>> 1. Is it possible to have one instance of AB minimized while it's 
>>>>>> floating charts are displayed (i.e. they are not minimized)...?
>>>>>>
>>>>>> 2. Is there a way of allow each instance of AB to have access to static 
>>>>>> variables defined by the other instance...?
>>>>>>
>>>>>> TIA
>>>>>>
>>>>>> --- In [email protected], "Rob"<sidhartha70@>  wrote:
>>>>>>              
>>>>>>> Hi,
>>>>>>>
>>>>>>> To reduce load on one core I want to run a couple of instances of AB... 
>>>>>>> Sadly I don't believe I can have two different setup's in terms of what 
>>>>>>> windows are visible, window position etc within the two instances of 
>>>>>>> AB... (even if one is installed in a separate directory)... I want to 
>>>>>>> use the two instances for quite different purposes...
>>>>>>>
>>>>>>> Is there way of minimizing the workload here...? or do I just have 
>>>>>>> setup each instance of AB each time I load it...?
>>>>>>>
>>>>>>> Second question... what are the implications of running two instances 
>>>>>>> off the same DB... anything I specifically need to look out for...?
>>>>>>>
>>>>>>> Many Thanks
>>>>>>>
>>>>>>>                
>>>>>>              
>>>>>            
>>>>          
>>>        
>>      
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
>
>    

Reply via email to