If I have something like this :
..And I make an array of them, say ten elements long. Can I guarantee that it's all in one contiguous block of memory? In other words, if I want to pass the array to a DLL or Windows API function, I can just point to MyArray[0] and it will find the 120 bytes which make up my array as they should be?
Is this safe practice or do I need to make a bank and copy the contents of array and fields into that?
Type tMyType Field x:Int Field y:Int Field z:Int End Type
..And I make an array of them, say ten elements long. Can I guarantee that it's all in one contiguous block of memory? In other words, if I want to pass the array to a DLL or Windows API function, I can just point to MyArray[0] and it will find the 120 bytes which make up my array as they should be?
Is this safe practice or do I need to make a bank and copy the contents of array and fields into that?