Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

use of serial I/O port in C or C++

Posted on 1999-08-03
2
Medium Priority
?
200 Views
Last Modified: 2010-04-16
does anyone know how to access the serial port (COM1 or COM2) by using the Win32 API ? Using Visual C++ 5.0, which libraries and includes are needed?   is there any webpage explaining the procedure of handling the I/O port ? Or is there already a .dll existing, free to use?
0
Comment
Question by:demian
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 4

Accepted Solution

by:
nil_dib earned 100 total points
ID: 1201672
Look at http://msdn.microsoft.com/library/techart/msdn_serial.htm 
this is probably the best site for serial communiction on W32 platforms (Terminal program + source also included). All the issues concerning serial communications are discussed and explaned there.
also take a look at www.codeguru.com (http://www.codeguru.com/misc/serialport.shtml)
for code to do serial communication
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question