Hi there, i have a problem with calling the get_GetTimeSalesBar() function in the event handler function below:
---------------------------------------------------------------
private void esignal_OnTimeSalesChanged(int lHandle)
{
IESignal.TimeSalesData tsd;
int numOfRTBars = 0, numOfBars = 0, diff = 0;
numOfRTBars = esignal.get_GetNumTimeSalesRtBars(lHandle);
numOfBars = esignal.get_GetNumTimeSalesBars(lHandle);
diff = (numOfRTBars - currentRow) * -1;
for( int i = diff; i <= 0; i++)
{
tsd = esignal.get_GetTimeSalesBar(lHandle,i);
.....
}
...
}
---------------------------------------------------------------
It seems that the function never returns the tsd object, in fact when debugging it never returns at all so that no code past this function call is ever executed.
This behaviour is the same in c# and VB.
running Win 2000 SP4
eSignal 7.5 (build 628)
The same code is working on Win XP.
Regards
.....
(help)
---------------------------------------------------------------
private void esignal_OnTimeSalesChanged(int lHandle)
{
IESignal.TimeSalesData tsd;
int numOfRTBars = 0, numOfBars = 0, diff = 0;
numOfRTBars = esignal.get_GetNumTimeSalesRtBars(lHandle);
numOfBars = esignal.get_GetNumTimeSalesBars(lHandle);
diff = (numOfRTBars - currentRow) * -1;
for( int i = diff; i <= 0; i++)
{
tsd = esignal.get_GetTimeSalesBar(lHandle,i);
.....
}
...
}
---------------------------------------------------------------
It seems that the function never returns the tsd object, in fact when debugging it never returns at all so that no code past this function call is ever executed.
This behaviour is the same in c# and VB.
running Win 2000 SP4
eSignal 7.5 (build 628)
The same code is working on Win XP.
Regards
.....
(help)
Comment