Thread: C++ I/O port programming????

  1. #1
    Registered User
    Join Date
    Sep 2005

    C++ I/O port programming????

    how do i write a c++ program ,to send and receive data from COM3 of my computer,i m using a turboc compiler

  2. #2
    Registered User
    Join Date
    Aug 2005
    if your os is MS-DOS then you will need to either write your own device driver (most likely in assembly language) or buy one -- there may be some old shareware drivers, but don't know for sure. google for "ms-dos device drivers" and you will get some help.

    you cannot use win32 api functions with that ancient compiler.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Boy, you sure do know how to spam the board - answers elsewhere.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  2. Replies: 3
    Last Post: 02-29-2008, 01:29 PM
  3. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  4. I/O Completion Port and Queue Status :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 11-02-2002, 01:00 PM
  5. Overlapped I/O and Completion Port :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 10-30-2002, 05:14 PM