Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Couple questions about a procedure in a class definition
Message
 
 
À
23/08/2007 17:35:36
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01250023
Message ID:
01250046
Vues:
12
>>>Naomi,
>>>
>>>Probably you are right and I am wrong, I might be getting confused with some other problem I had in the past related with length of strings when the "reserved" space was not big enough.
>>>
>>>>What exactly the GetData method is doing? Can we just pass an empty string always?
>>
>>I'm not sure myself here.
>
>Many systems I've seen specify the size of the data being returned. We have to provide a space at least as big as the returned value. QuickBooks SDK comes to mind.

I know it's often the case with Windows API functions where you specify cBuffer in advance. May be similar for ActiveX.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform