Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / July 2006

Tip: Looking for answers? Try searching our database.

.NET 2005 C++ SerialPort class

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
awu - 05 Jul 2006 23:28 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.

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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.