Do I have to expect that the VST breaks as I add array elements, because at some point the array gets moved to a larger memory block, invalidating all the stored pointers?I did not test it, but I think so. I'd use a TList or similar rather than an array to store the items - see attachment.
Do I have to expect that the VST breaks as I add array elements, because at some point the array gets moved to a larger memory block, invalidating all the stored pointers?I did not test it, but I think so. I'd use a TList or similar rather than an array to store the items - see attachment.
Do I have to expect that the VST breaks as I add array elements, because at some point the array gets moved to a larger memory block, invalidating all the stored pointers?