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

This is a discussion on C++ I/O port programming???? within the C++ Programming forums, part of the General Programming Boards category; how do i write a c++ program ,to send and receive data from COM3 of my computer,i m using a ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    9

    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
    Posts
    1,267
    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
    Location
    The edge of the known universe
    Posts
    32,824
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 02: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, 06: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21