Control of ports

This is a discussion on Control of ports within the Networking/Device Communication forums, part of the General Programming Boards category; I have recently changed from using Borland C++ to Visual C++ 6.0 and found that the control of external devices ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    2

    Question Control of ports

    I have recently changed from using Borland C++ to Visual C++ 6.0 and found that the control of external devices via the ports have changed, is there a simple solution to use the ports again (eg outportb could be used in Borland)? I am mainly trying to get started in the right direction so I can have a GUI and use the ports at the same time. Thanks for any assistance.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,823
    For all the common stuff (say serial port), you use the appropriate win32 API.
    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. (Multiline) Edit Control Limit
    By P4R4N01D in forum Windows Programming
    Replies: 9
    Last Post: 05-17-2008, 12:56 PM
  2. line number on a rich edit control
    By rakan in forum Windows Programming
    Replies: 1
    Last Post: 02-18-2008, 07:58 AM
  3. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  4. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 08:55 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10:44 AM

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