jeden
December 1st, 1999, 07:04 AM
Hi,
I'm having to use a callback function. The problem that I have is that one of the callback variables has to be a pointer. This pointer refers to a UDT. The actual UDT used can be worked out from other info in the callback vars.
OK so I know which type the pointer points to and I know where it is but how do I get the information actually into the UDT? Oh, I also know the structure's size in bytes.
Please please please help as I'm getting a headache from it!
I've probably bitten off more than I can chew but it seems as though this is the main sticking point.
Many thanks in advance,
Jon.
I'm having to use a callback function. The problem that I have is that one of the callback variables has to be a pointer. This pointer refers to a UDT. The actual UDT used can be worked out from other info in the callback vars.
OK so I know which type the pointer points to and I know where it is but how do I get the information actually into the UDT? Oh, I also know the structure's size in bytes.
Please please please help as I'm getting a headache from it!
I've probably bitten off more than I can chew but it seems as though this is the main sticking point.
Many thanks in advance,
Jon.