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 ?