Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help on FOPEN()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00103909
Message ID:
00104277
Vues:
33
Hi Mike

Thanks for the reply. One more favour please. From Where can I get
commtools library.

Regards
Jayesh


>This seems to only work in FoxPro for DOS (according to the Lang. Ref). I did get it to work in FoxPro for Dos but, I had to issue a dos mode command first and the cFileName of the FOPEN command had to be a valid DOS Name (COM1: works but com1 won't)
>
>.
>.
>.
>!MODE COM1:,8,1,n,-
>cSuccess = FOPEN('COM1:',10)
>.
>.
>.
>
>When I had to use com ports with VFP I had to get a third party library (CommTools).
>
>
>>Hi All,
>>
>> I want to know how can i open/read com port using FOPEN()
>>when i tried FOPEN('com1',10) it returns -1 and FERROR() returns
>>5 (file access denied). Please put some sample code if possible.
>>
>>Thanks in advance
>>
>>Jayesh
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform