Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding methods to a class object
Message
 
À
17/08/2007 12:07:07
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01248400
Message ID:
01248826
Vues:
29
Just thinking outloud here, but, is it possible that you got more characters than 256? I would change the line
strData = SPACE(256) to strData = SPACE(bytesTotal) and see what happens

[Update]Oh, looking at the code in the Wiki, it's author not only uses the above, but also calls GetData like this This.GetData(@lcBuffer, , tnByteCount )
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform