Results 1 to 3 of 3

Thread: Port I/O

  1. #1

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134

    Port I/O

    Is there some DLL that can do this? I'm mainly looking for one written in C++ or ASM. What I need is to be able to write to it whatever I need at whatever address, (in this case 378 which is LPT1), and read it too.

    If there is an easier way to do this (actually I'm doing this in VB, it just seemed appropriate to post it here for the first part), using just VB?
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I think direct port I/O to the printer is forbidden even under 9x - it might let you, but it warns you I think, and then disables the printer driver.
    NT totally blocks it.

    What are you trying to achieve? There may be a better way.

    PS: Search for vbasm.dll
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    I'm making a multi-purpose remote for my computer, stuff like channel up/down for my TV card, volume up/down for everything, next track, play, stop, etc. I'm not sure how to do much for that matter, I can make all the electronics including the RF transcieving (I'm going to be outputting sound to and have a headset jack on the remote ). I just dont know where to connect it... I know I need 20 pins, so I thought "hey, printer port!". I may be able to do it with Serial Bus.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width