Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interfacing C DLL with Fox.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00139024
Message ID:
00140103
Views:
25
>>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.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform