I'll try and confuse everyone as little as possible here.
I have a record. It is called email_info. This record is basically an e-mail account.
I have email_accounts which is an array of email_info.
I add new accounts to a list (similar to a treeview i guess.) when the user mouses over, they see a tooltip (hint) containting data from that account. i.e. new messages, etc..
Problem. When I add a new record (account) I call SetLength(email_accounts, Length(email_accounts) +1)
this moves my array to a different location in memory. so when i add a new account, the accounts above it don't know where to grab their data. so i usually get some funky stuff in there.
what would solve this? a pointer to the pointer that's already in the tooltip?
this is probably VERY confusing, sorry :)