.NET 2005 C++ SerialPort class

  • Thread starter Thread starter awu
  • Start date Start date
A

awu

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
 
awu said:
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
 
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
 
Back
Top