Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory objects saved into cursors
Message
De
20/02/2019 08:44:40
 
 
À
20/02/2019 05:06:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01666501
Message ID:
01666578
Vues:
56
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform