Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding methods to a class object
Message
 
To
17/08/2007 12:07:07
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01248400
Message ID:
01248826
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform