Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Couple questions about a procedure in a class definition
Message
 
 
To
23/08/2007 17:35:36
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01250023
Message ID:
01250046
Views:
15
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform