API Support Forum
OEC API > Market Data > Access Bars' data in OnBarsReceived Event
Author Topic: Access Bars' data in OnBarsReceived Event
(2 messages, Page 1 of 1)
Moderators: VPfau
ATsyss364
Posts: 1
Joined: Sep 19, 2011


Posted: Sep 23, 2011 @ 09:47 AM             Msg. 1 of 2
Hi

Could you give an example of C++ Builder code, how to access Bars' data in OnBarsReceived event

void __fastcall TMainForm::OECClientBarsReceived(TObject *Sender,
ISubscription *Subscription, LPSAFEARRAY Bars)
{
...
}

thanks

Alex Tsyss
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Sep 26, 2011 @ 02:04 PM             Msg. 2 of 2
Unfortunately, we do not support C++ Builder, but I feel you can re-use C++ COM Sample code.

Victor Vins
Lead Software Developer