I’m trying to parse through the values updated on UI with sliders, which are stored in OwnedArray<Slider> and convert them into Array<var>*
BG: An array of sliders is created of type OwnedArray<Slider>, and Array<var>* is exported to the Engine, so all the values from OwnedArray<Slider> (when updated when slider change on UI) are needed to be converted to Array<var>* which can be then exported to the engine
Yes something similar,
my sliders are defined of type OwnedArray juce::Slider Sliderarray;
The engine takes values of type Array* sliderVals; ,
so when I update the UI, those sliders values are in Sliderarray and I need to assign these values to sliderVals so that I can export the sliderVals to engine and update it as UI changes
Your suggestion would help, but values.add (slider->getValue()); runs in exception