Communicating with the Comm ports.

This is a discussion on Communicating with the Comm ports. within the Windows Programming forums, part of the Platform Specific Boards category; Wondering if anyone had any good links or tutorials on learning how to interact with your com ports (self made ...

  1. #1
    Unregistered
    Guest

    Communicating with the Comm ports.

    Wondering if anyone had any good links or tutorials on learning how to interact with your com ports (self made inventions ). Thanks - dfuzer

    If you really want to be nice you can send the data on over to dfuzer@yahoo.com thanks again.

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Interacting with a standard COM port is not difficult. Use CreateFile() to get a handle for the port then use the handle based I/O routines to read and write.

    Look at the help associated with CreateFile(), espeacialliy the section on "Communication resources", and check out some of the links from there. This should get you going, or if nothing else, give you the right keywords to use for a google search.
    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. Serial Comm. through a Comm Port - WinXP to PIC
    By MoonlightKnight in forum Networking/Device Communication
    Replies: 5
    Last Post: 10-14-2006, 09:02 PM
  2. virtual ports
    By royuco77 in forum Networking/Device Communication
    Replies: 5
    Last Post: 07-02-2005, 10:33 AM
  3. Controlling ports
    By lockpatrick in forum Linux Programming
    Replies: 2
    Last Post: 06-09-2002, 11:58 AM
  4. binary and comm ports
    By scott27349 in forum C++ Programming
    Replies: 0
    Last Post: 02-24-2002, 09:42 PM
  5. Accessing Ports
    By Thantos in forum C Programming
    Replies: 6
    Last Post: 09-13-2001, 06:01 AM

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