Need help to access COM port in C++

This is a discussion on Need help to access COM port in C++ within the C++ Programming forums, part of the General Programming Boards category; Hi, I need help to access com port to build a terminla emulater can some one help me...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    1

    Lightbulb Need help to access COM port in C++

    Hi,

    I need help to access com port to build a terminla emulater can some one help me

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    You don't state your OS. If you are using Windows, look up the CreateFile() API function, particulaly the section dealing with communication resources.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Cut and pasted from a personal e-mail reply...

    >>>
    Hi Adrianxw,

    Thanks for your reply well you asked for OS I have to do this on DOS and as well as on WIndows and I dont want to use API of Windows. If you have any other option please reply me

    Thanks
    <<<

    If you don't want to use the API, then you'll have to find some kind of library that will wrap the API up for you. Try searching google, there are many such libraries.

    I know nothing about DOS.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 02-10-2009, 10:02 AM
  2. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  3. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  4. Segmentation Fault - Trying to access parallel port
    By tvsinesperanto in forum C Programming
    Replies: 3
    Last Post: 05-24-2006, 03:28 AM
  5. Com port access in two threads..
    By Roaring_Tiger in forum C Programming
    Replies: 1
    Last Post: 04-24-2003, 04:15 AM

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