serial port programming in windows using VC++ 2008

Reply

Join Date: Aug 2009
Posts: 1
Reputation: littlegal is an unknown quantity at this point 
Solved Threads: 0
littlegal littlegal is offline Offline
Newbie Poster

serial port programming in windows using VC++ 2008

 
0
  #1
Aug 12th, 2009
I am writing in C and using using VC++ 2008, .net 3.5 sp1 framework using a USB - to serial converter for serial port -- it comes up as COM4 on Windows 7 x64 as the operating system.

Need to read and write to a circuit board which gives out continuous output on the serial port.

I also do not know the header files to include in my main program to get the code to work.


Thanks,
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 97
Reputation: VIeditorlover is an unknown quantity at this point 
Solved Threads: 5
VIeditorlover's Avatar
VIeditorlover VIeditorlover is offline Offline
Junior Poster in Training

Re: serial port programming in windows using VC++ 2008

 
0
  #2
Aug 14th, 2009
windows.h should be OK :-) serial port is nothing more than kind of file so you open it, get handle and can start to work with. For more details check MSDN http://msdn.microsoft.com/en-us/library/ms810467.aspx Good Luck!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC