BM Objects can't be casted to pointers anymore. As Ptr are only for outside communcation, where your objects can't go.
For inside communication you can go the Byte Ptr way as well but it is not the adviceable way ... it breaks the ideas behind the managed environment.
There is nearly always a way around the usage of pointers which does not really need much exchange.
In your case its:
method loadImg(img:TImage[])
...
For inside communication you can go the Byte Ptr way as well but it is not the adviceable way ... it breaks the ideas behind the managed environment.
There is nearly always a way around the usage of pointers which does not really need much exchange.
In your case its:
method loadImg(img:TImage[])
...