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. Database & SysAdmin
  3. System Admin
  4. Parallel Port Programming in Windows XP

Parallel Port Programming in Windows XP

Scheduled Pinned Locked Moved System Admin
c++helptutorialquestion
3 Posts 3 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.
  • N Offline
    N Offline
    Nikhil Wason
    wrote on last edited by
    #1

    I wish to control LEDs on a bread board through the parallel port using a c++/vc++ program made in windows xp. I tried doing the same thing on windows 98 where it worked but i guess windows xp does not give permissions to access the parallel port for programming. Is it really so?? If yes, then plz suggest a suitable alternative or workaround to this so that i can control LEDs by programming on windows xp. I'm also interested in knowing how to program the USB & serial ports. Can anyone help me out pls???:confused: Nikhil

    M A 2 Replies Last reply
    0
    • N Nikhil Wason

      I wish to control LEDs on a bread board through the parallel port using a c++/vc++ program made in windows xp. I tried doing the same thing on windows 98 where it worked but i guess windows xp does not give permissions to access the parallel port for programming. Is it really so?? If yes, then plz suggest a suitable alternative or workaround to this so that i can control LEDs by programming on windows xp. I'm also interested in knowing how to program the USB & serial ports. Can anyone help me out pls???:confused: Nikhil

      M Offline
      M Offline
      Matt Newman
      wrote on last edited by
      #2

      As I understand it you will either need to create a XP-compatible driver or find one that already suits your needs and use that. Matt Newman
      "May they go to hell!" the soldiers shouted. Allawi replied: "To hell they will go." - Minister Ayad Allawi

      1 Reply Last reply
      0
      • N Nikhil Wason

        I wish to control LEDs on a bread board through the parallel port using a c++/vc++ program made in windows xp. I tried doing the same thing on windows 98 where it worked but i guess windows xp does not give permissions to access the parallel port for programming. Is it really so?? If yes, then plz suggest a suitable alternative or workaround to this so that i can control LEDs by programming on windows xp. I'm also interested in knowing how to program the USB & serial ports. Can anyone help me out pls???:confused: Nikhil

        A Offline
        A Offline
        Arsalan Malik
        wrote on last edited by
        #3

        Windows 2000 and XP does not gives access to parallel port. Alternate is to use a device driver which resides in kernel and gives access to your program. Check out this page: http://www.codepedia.com/zone15/cat610/ I used Inpout32.dll and it worked. You only have to use dll, and call its functions: Inp32(...), Out32(...):cool: ARSALAN MALIK

        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