>>No problem. < g > It works in VFP, but it's slow and ugly, I used a FLL for this. Anyway, the idea is similar to the code I posted. Thanks god, lstrcpy() is a Windows API function (Does anyone use it in C code?). SO you get back the adress as a string, since it's part of the structure. Convert it into an integer and use lstrcpy( cString, nAdress ) to copy the memory block into a string that should be long enough to hold the result.
It's kinda funny to see this discussed so ardemently...
If you really need to do stuff like this just build a DLL and be done
with it. It's just easier to map this stuff to C from straight parms
than it is to muck with the entire Structure/pointer mechanisms.