All:
I need to use SerialPort class in .NET MFC application. I need to
create a thread for write/read of the port. Someone can tell me where
I can find a good example? All the example using SerialPort class
either for C# or for VB.
Thank you
awu10
William DePalo [MVP VC++] - 06 Jul 2006 05:39 GMT
> All:
> I need to use SerialPort class in .NET MFC application. I need to
> create a thread for write/read of the port. Someone can tell me where
> I can find a good example? All the example using SerialPort class
> either for C# or for VB.
You can go to a code bank on the web, for example here:
http://www.codeproject.com/info/search.asp
and search for "serial port" and you'll get a few hits.
Regards,
Will
Jochen Kalmbach [MVP] - 06 Jul 2006 06:41 GMT
Hi awu!
> I need to use SerialPort class in .NET MFC application. I need to
> create a thread for write/read of the port.
For serial port and MFC I suggest the use of the (unmanaged) MFC class:
http://www.codeproject.com/system/serial.asp
> Someone can tell me where
> I can find a good example? All the example using SerialPort class
> either for C# or for VB.
Normally it should be easy to convert C# to C++/CLI...
Greetings
Jochen