Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Parallel Port Driver C++

  • 21-09-2004 11:52AM
    #1
    Closed Accounts Posts: 1,541 ✭✭✭


    Hello All,

    I am trying to program the parallel port on Windows 2000 using Visual C++. I am written a program to control the port and it compiles ok-no errors. However when I try to access the parallel port I get an error back from Windows :( . I beleive I need a driver (eg InpOut32.dll) to allow me to access this but I have no idea what to do once I download InpOut32.dll or any other appropriate driver. I don't even know if InpOut32.dll is appropriate for C++??

    Can anyone tell me which driver I should use?

    What do I do once I download this driver? Do I have to change my Visual C++ program.?

    Thanks :)


Comments

  • Closed Accounts Posts: 1,541 ✭✭✭finnpark


    Its ok. Ive sorted it :D . I used the "Userport" driver and didn't have to change my program one bit.

    One more thing. When I use a Dialog box in Visual C++ i can use he Sleep function but when I compile a normal C++ program I get an error. How do I get around this problem. :( ?

    Thanks


Advertisement