Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling extended ASCII codes
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Handling extended ASCII codes
Miscellaneous
Thread ID:
00691972
Message ID:
00691972
Views:
61
A method that I'm calling in a COM object is returning a delimited string that contains binary data. For some reason when the string is returned in VFP, all the characters between ASCII 128 and 159 have been changed to 63 (Question Mark).

I've tried the same method call in VB5 and it works as expected. I can duplicate the problem in VB if I store the return string into a textbox before reading it. I'm assuming the texbox is corrupting the binary data in the same way as VFP is. I accept the idea that a textbox could corrupt the data, but I don't understand how it could get corrupted when being stored directly to a memory variable in VFP.

Any help would be appreciated. I'm using Visual FoxPro 7 SP1.

Thanks,
Aaron
Next
Reply
Map
View

Click here to load this message in the networking platform