Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a C++ Structure from a SELECT result
Message
De
03/03/2000 01:02:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Creating a C++ Structure from a SELECT result
Divers
Thread ID:
00341095
Message ID:
00341095
Vues:
58
Hi all, I am trying to return fairly large amounts of data from a SELECT to a C++ program (50 rows each containing 900 bytes of data spread across 30 columns). Even though MS claims to have "dramatically improved" the speed of string concatenation in vfp60, I find it very slow when I have to use it to build a single string from an array containing 1500 elements. This prevents me from being able to use "SELECT ... INTO ARRAY". The fastest way I have found so far is to use "SELECT ... TO FILE" and then use low-level file utilities to read in the results as a single long string. But that means disk I/O! Can anyone suggest something faster?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform