943,604 Members | Top Members by Rank

Ad:
Aug 12th, 2009
0

serial port programming in windows using VC++ 2008

Expand Post »
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,
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
littlegal is offline Offline
1 posts
since Aug 2009
Aug 14th, 2009
0

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

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!
Reputation Points: 10
Solved Threads: 9
Junior Poster
VIeditorlover is offline Offline
137 posts
since Dec 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows Vista and Windows 7 Forum Timeline: How to Install windows vista?
Next Thread in Windows Vista and Windows 7 Forum Timeline: Removal of unwanted program





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC