Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using serial port without writing to registry
Message
 
To
18/11/2004 07:08:08
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00961648
Message ID:
00962535
Views:
14
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 ?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform