This is related to @lokki question about loading arrays, but coming at it from a slightly different direction, so I thought it worth making a new thread.
I'm working on a custom file-loader object, that I'd like to operate in the same way as the Factory 'table/alloc/16b sdram load' object- ie you select a file, then the contents of that file is copied to SDRAM, and becomes available to other objects in the patch by setting an attribute to the name of the first object.
However, I don't want my file-loader just to load simple arrays into SDRAM. I want to define a struct in the loader (let's called it 'ROMHeader'), and to be able to access the SDRAM data in other objects by means of a pointer of type ROMHeader.
Is this possible?
a|x