[c++] Address Tsearch Help?

06/08/2009 06:54 xTesujin#1
For addresses that change everytime you start the program, but the value stays the same... How can I find the address for that value without having to rewrite it everytime? Can I use Tsearch? I know it's kind'a old but... I'm lost at this point...

If you could provide an example that would be very nice too, thanks.
06/10/2009 14:26 schlurmann#2
[Only registered and activated users can see links. Click Here To Register...]
06/10/2009 15:41 cryzed#3
It's called DMA (Dynamic Memory Allocation) and you will need to find (static) pointers which always point to the (dynamic) address you want. When you found the value you are searching for, search for the address of the variable holding the value and see if some results pop up - those are the pointers I told you about. For further reference I suggest you to follow schlurmann's advise to use Google.