Information générale
Titre:
Handling extended ASCII codes
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement