Well, in the C function it would be passed into a DWORD, thus :
myTPC(DWORD addr)
Depending on the type, it could be converted to a string or some other pointer :
str=(LPSTR) addr;
and then modified as usual using :
*(str)=(char) 'A';
If it requires some other type its just as easy :
ptr=(MYSQL *) addr;
ptr->wibble=27;
If you want to keep it as a list of array pointers :
ptr=(DWORD *) addr;
*(ptr)=12;
The important thing is the use of pointers to modify the data. It doesn't have to be complex but its certainly needed.*
*Not always - you can use the code for the peek/poke commands, but that usually makes it more complex.
UK Convention : 23/24th of October. Only a few days to go!