Pass Array back from .DLL

 
Hello,

I wish to write a custom .DLL to process BAR data. I will pass Open and Close to my .DLL, modify the O and C, and pass it back to MQL4 in a 2 dimentional array... can someone provide an MQL4 example on how this can be done? To my knowledge I can't return an Array from the .DLL... but maybe there is a work-around.

Thanks in advance.
-charliev
 
ExpertSample.dll project, GetRatesItemValue function. You can change RateInfo values and this changes will be reflected on current loaded historical data.
 
ExpertSample.dll project, GetRatesItemValue function. You can change RateInfo values and this changes will be reflected on current loaded historical data.


Thank you Slawa for your reply, where do I find the ExpertSample.dll project?

-charliev
 
C:\Program Files\MetaTrader 4\experts\samples
Reason: