I am trying to get the memory address of a structure and can’t seem to figure it out. Here is what I have to demonstrate:
A simple structure:
Try and show the address in memory of the structure:
The error I am getting is ‘Type mismatch error’.
The reason for retrieving the address of a structure is that I have a needed declare that requires the addresses of three structures. If I can get the address of one structure then I can figure out the remaining three.
Does anyone have any helpful suggestions? Thanks
Edit: Oops, posted the correct example now…