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

Re: [amibroker] Re: gSite.GetArraySize();



PureBytes Links

Trading Reference Links

Stephane,

You can not simply change the the Size of the arrays.
It is not that easy. To do so the memory previously allocated 
must have been re-allocated and all pointers updated.
You can not just change the size and forget about old pointers.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "nenapacwanfr" <nenapacwanfr@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, April 26, 2002 1:37 PM
Subject: [amibroker] Re: gSite.GetArraySize();


> for example,
> I have tried to write a time frame dll
> I change the nsize to nPeriod, calculate the new HOLCV
> and come back from the nPeriod to the nsize
> 
> I can plot the plugin dll, but if I move the data or download new 
> data,
> Ami crashes
> 
> same with forecastRSI,
> 
> for the same nSize I have two arrays .
> I can plot the future close, but if I change the stock, Ami crashes
> 
> Stephane
> > 
> > what do you mean with "manipulate" the int nSize?
> > I have no trouble using that function, but than, I only do simple 
> stuff...
> > 
> > Take care,
> > Herman.
> > 
> > > -----Original Message-----
> > > From: nenapacwanfr [mailto:nenapacwanfr@x...]
> > > Sent: Friday, April 26, 2002 1:44 AM
> > > To: amibroker@xxxx
> > > Subject: [amibroker] gSite.GetArraySize();
> > >
> > >
> > > Tomasz,
> > >
> > > after V4, you must have a look to the ADK,
> > > Ami crahes every times a dll manipulates the
> > > int nSize = gSite.GetArraySize();
> > >
> > > Stephane
> > >
> > >
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/
> > >
> > >
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
>