I am using VC 4.0, Win95, and doing some coding that uses TAPI functions. I have a callback function (LineCallBack in TAPI) that has 3 generic DWORD params passed to it. I have no problem receiving these values and using them except when one of the values is supposed to point to a string. In this case the value I receive is huge and is pointing to nowhere. (I might point out that the values are being sent to my callback from some unknown lower level functions supplied in a DLL as part of an SDK.)
After reading the definition of DWORD, which says: a 32-bit uint OR "address of a segment and its associated offset" I decided that my problem might be that, in this case, DWORD means the latter (isn't this 16-bit addressing? why?). I need to know how to interpret this value so that I can find my string.
I hope this is enough info... thanks for any help.