Hi all,
I have an old code in proview v4.8.6 that I wish to update in v5.2 version
I was using a DataArithm module to make the link between and output a interger value from a DataCollect module in input (which is itself gatrhring various CircBuff100k module).
My output is named OI1 and input is Da1 into the following C Code
My code was that one:
OI1 = ((pwr_sClass_CircBuff100k *)Da1->DataP[0])->Head.FirstIndex
It worked fine but in v5.2 it failed to compile : "Error cannot convert to a Pointer type"
Looking into the library evolution reveals that before the DataCollect OutputP was of type "void" with an associated objid attribute, but now a "DataRef" type.
I guess this is the reason one it failed but I can't succeed to make it work or cast it the right way.
Do I need to use an adress translation somehow or what ?
Thanks for your help
Snarf