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. Risky Parallel Port Scheme?

Risky Parallel Port Scheme?

Scheduled Pinned Locked Moved C / C++ / MFC
c++jsonquestiondiscussion
1 Posts 1 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.
  • M Offline
    M Offline
    Myles
    wrote on last edited by
    #1

    Greetings. I am interested in thoughts and advice on parallel ports. I have equipment that is controlled thru the LPT1. Under DOS, I used the biosprint function, which is now defunct in C++. I have tried using CreateFile and WriteFile in MFC, but have found Windows 98 to be very finicky about allowing the user to directly control the port - I can verify that the data has been sent to the port using CreateFile and WriteFile, but my equipment does not respond. Yet, I can go to the DOS prompt on the same machine and use the old functions and the equipment responds immediately. (But to fit in with the rest of the program, I have to do this in Windows 98) Does anyone have suggestions or experience sending integer data to the LPT1 - or ideas about where I am going wrong? Thanks in advance.

    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