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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. USB in Visual C++

USB in Visual C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
3 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.
  • J Offline
    J Offline
    Johnny Peszek
    wrote on last edited by
    #1

    Hi. How to use Visual C++ to create a program for Input/Output via USB port? Many thanks for help.

    C 1 Reply Last reply
    0
    • J Johnny Peszek

      Hi. How to use Visual C++ to create a program for Input/Output via USB port? Many thanks for help.

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      What do you mean exactly when you say: 'via USB Port' ? Are you using a USB-To-Serial adapter or another USB device ? Fir the second case, a driver is shipped with the device and there shoulb documentation included. You must open the port using the CreateFile function specifying the name of the device you want to access. Then you use the DeviceIoControl function to send command to the driver. Hope this helps

      J 1 Reply Last reply
      0
      • C Cedric Moonen

        What do you mean exactly when you say: 'via USB Port' ? Are you using a USB-To-Serial adapter or another USB device ? Fir the second case, a driver is shipped with the device and there shoulb documentation included. You must open the port using the CreateFile function specifying the name of the device you want to access. Then you use the DeviceIoControl function to send command to the driver. Hope this helps

        J Offline
        J Offline
        Johnny Peszek
        wrote on last edited by
        #3

        I participate in a project in which I have to establish comminication betwen Digital Signal Processor and PC via USB. This is the beginning of the project and we don't know that DSP would be the best. I will give more information as soon as the specification of the project is more clear. Thanks!

        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