Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrays in C dlls
Message
De
22/02/1999 19:47:46
 
 
À
22/02/1999 18:18:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00190091
Message ID:
00190255
Vues:
13
The easiest way I know is to pass the double value and a 8-byte char string to a dll C function that takes the double and maps it to the string (it can be done with only one copy of a double and some casts, which is very fast). I think I gave once some code for this on UT but I can't find it right now.

Since VFP knows that it has passed a 8 byte string, it will receive a 8 byte string, so, no problems if a chr(0) reuslts in the string from the conversion.

Vlad

>Converting VFP numbers to DOUBLE representation is the stumbling block here;
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform