Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send receive binary data though MSCOMM
Message
De
19/10/2007 10:05:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
How to send receive binary data though MSCOMM
Divers
Thread ID:
01262143
Message ID:
01262143
Vues:
78
We have a problem that we need to sent binary data though serial port ( MSCOMM )

The output is FOXPRO like :

DIMENSION x(4) as Byte
x(1) = 0
x(2) = 4
x(3) = 253
x(4) = 249
*!*x= (00,04,253,249)

thisform.MScomcontrol.output = x

This generates an invalid parameter error because the control only accepts ascii values.

In Visual Basic this works fine.

Suggestions?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform