conio.h in Visual C++ ?

This is a discussion on conio.h in Visual C++ ? within the Windows Programming forums, part of the Platform Specific Boards category; Hello. I`m useing Visual C++ and I need to use outportb function, but in Visual`s C++ conio.h there isn`t that ...

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    20

    conio.h in Visual C++ ?

    Hello. I`m useing Visual C++ and I need to use outportb function, but in Visual`s C++ conio.h there isn`t that function, in Borland C++ that function is. Any suggestions ? THNX
    Butterfly sweep can make torando in another side of world

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,592
    Get a newer book or an older compiler.

    Which port are you planning to mess with?

    Taking a guess, if it's the serial port, then use the win32 CreateFile() API and associated functions.
    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.

  3. #3
    Registered User Rare177's Avatar
    Join Date
    May 2004
    Posts
    214
    i believe that VC++ and BC++ have 2 different functions like in BC++ it is outportb and in vc++ it is something different..i dont know it off the top of my head but they may help, also i think it uses a different header file than conio

  4. #4
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    dont most dos compilers put the io port commands in <pc.h>? but it's been a while... you probably don't have much of a reason to mess with them in a modern enviornment anyway
    hello, internet!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 04:45 PM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 09:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 07:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM

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