Serial port programming (C++) in WinXP

Discussion in 'C++' started by Ani, Jul 10, 2007.

  1. Ani

    Ani Guest

    Hi all,

    I am working on Windows XP and I need to access the Serial port (COM1
    & COM2) using C++/C . I donot want to use the functions provided by
    windows (CreateFile .. etc) which allow me to access the serial port.
    I am unable to use inportb & outportb as XP does not allow me (PL 3)
    to access the hardware (PL 0) directly. Can someone help me on this ?

    Thank you,
    Anirudh.
    Ani, Jul 10, 2007
    #1
    1. Advertising

  2. Ani

    GeekBoy Guest

    "Ani" <> wrote in message
    news:...
    > Hi all,
    >
    > I am working on Windows XP and I need to access the Serial port (COM1
    > & COM2) using C++/C . I donot want to use the functions provided by
    > windows (CreateFile .. etc) which allow me to access the serial port.
    > I am unable to use inportb & outportb as XP does not allow me (PL 3)
    > to access the hardware (PL 0) directly. Can someone help me on this ?
    >




    That is about it because access to hardware is not built into C++


    > Thank you,
    > Anirudh.
    >
    GeekBoy, Jul 10, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pom
    Replies:
    2
    Views:
    1,620
    Bas-i
    Jan 31, 2007
  2. Replies:
    2
    Views:
    444
    Hendrik van Rooyen
    Jun 7, 2007
  3. helloguys
    Replies:
    3
    Views:
    434
    Walter Roberson
    Jun 29, 2007
  4. Replies:
    0
    Views:
    747
  5. msalerno
    Replies:
    3
    Views:
    402
    Ilmari Karonen
    Jul 14, 2005
Loading...

Share This Page