Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory objects saved into cursors
Message
From
20/02/2019 08:44:40
 
 
To
20/02/2019 05:06:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01666501
Message ID:
01666578
Views:
55
>I would have to read up again on the mechanics of accessing strings in C in a fll - there you move from the pointer to vfp memory to raw C pointer. Pretty certain a test scenario could be built, but I am not longing for a return to the C machine room unless bribed with insame amounts (think "Schmeeeerzensgeld")

If you move to the vfp install directory\Samples\API\ you will see the example.dbf table. USE example.dbf and then BROWSE LAST and open up the various memo fields. They convey exactly how to do it. One that I looked at is the MEMFILL entry. You can see the _HandToPtr() function and how it retrieves direct access to memory variables. You should also Lock() and Unlock() access.
USE "C:\Program Files (x86)\Microsoft Visual FoxPro 9\Samples\API\examples.DBF"
BROWSE LAST
&& Look for the MEMFILL entry
Previous
Reply
Map
View

Click here to load this message in the networking platform