Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using serial port without writing to registry
Message
De
18/11/2004 07:18:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00961648
Message ID:
00962536
Vues:
17
Ok, don't mind Boris, I'll try to understand how implement the C code in a VFP class when I'll have that need ! :-))
>Yes it was writen in C. I create a FLL wraper to this code to use it from VFP. But it is dedicated to my application (It may be not works for other). This FLL is Undocumented :o(. I can send You the whole FLL project, but I am not sure You can understood you'll manage with it.
>
>>Thank you Boris, i gave a glance to hat page and put it in my favourite, but i thought that code was written in C and had to be compiled. In that case I don't know what to do.... :-)
>>
>>>As I said to Andrus check http://home.ict.nl/~ramklein/Projects/Serial.html, there is the latest version of that class free. Also the new vesion contains that class for .NET developers.
>>>
>>>
>>>>Hi Boris, Could you send me that class to me too ?
>>>>Thank you
>>>>Alessio
>>>>
>>>>>Andrus, take a look in http://home.ict.nl/~ramklein/Projects/Serial.html I donloaded this class from there. Its great.
>>>>>
>>>>>
>>>>>>Yes, I'm interested about it. You can send it to me.
>>>>>>
>>>>>>Why you do'nt call WinAPI from VFP directly but use an intermediate FLL file ?
>>>>>>
>>>>>>
>>>>>>>I never use MSCOMM.OCX, I use a Serial class writen on C++ & made an FLL for me to use it with VFP.. If You want I could send You the C++ class to You.
>>>>>>>
>>>>>>>
>>>>>>>>My application communicates with a device in COM port.
>>>>>>>>
>>>>>>>>In Windows XP, users don't have registry write privilege to install MSCOMM. So I cannot use MSCOMM ActiveX control.
>>>>>>>>
>>>>>>>>Is is possible use serial port without ActiveX control ?
>>>>>>>>
>>>>>>>>Are there any samples how to read/write data to COM port using Windows
>>>>>>>>API directly ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform