Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. port communication using mfc

port communication using mfc

Scheduled Pinned Locked Moved C / C++ / MFC
c++comtutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    parthmankad
    wrote on last edited by
    #1

    how to communciate with a serial or com or usb port using mfc

    D 1 Reply Last reply
    0
    • P parthmankad

      how to communciate with a serial or com or usb port using mfc

      D Offline
      D Offline
      Diddy
      wrote on last edited by
      #2

      You don't You use ::CreateFile and give it a name such as "COM3:" If you want to talk to a USB port you have to make sure your USB device offeres a device in the serial port (or modem) class in its ACL to get a COM port assigned to it You probably can use CFile to do the same, but ive never tried. There are numerious serial port wrapper classes on CP and www.codeguru.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups