Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use CreateFile function
Message
 
 
À
02/06/2003 23:29:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00795494
Message ID:
00795520
Vues:
14
Liu,

Are you sure you have it set to an 8bit setting instead of 7bit?

You can also simply your code to:

mscomm.olemscomm.object.output = chr( strData )

>Use the MSCOMM control
>But It doesn't send binary Data
>
>*This is my SendData function
>
>function SendData(strData)
>dime comout(1)
>store chr(strData) to comout
>mscomm.olemscomm.object.output=comout
>endfunc
>
>Wrong: if strData > 128 and strData < 255 (WIN98 Chinese operating system )
>
>How can I transmit a single byte Hex data?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform