Results 1 to 8 of 8

Thread: need help with ports

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    israel
    Posts
    2

    Question

    i need help programing for com & printer ports
    looking for information

    contact at [email protected]


    thanx

  2. #2
    Hyperactive Member Warmaster199's Avatar
    Join Date
    Aug 2000
    Location
    Canada
    Posts
    306
    What language are you looking for? If you are looking for C or C++ code, then I can help alot. If it's VB, then you will have to use the MSComm control. I can't really help if it's VB.
    Designer/Programmer of the Comtech Operating System(CTOS)

  3. #3
    Hyperactive Member Amon Ra's Avatar
    Join Date
    Feb 2001
    Location
    In some cave on Uranus...
    Posts
    500

    Wink DLL

    I am currently writing a dll in c++ to allow vb to send data to the port.
    Amon Ra
    The Power of Learning.

  4. #4
    Hyperactive Member Amon Ra's Avatar
    Join Date
    Feb 2001
    Location
    In some cave on Uranus...
    Posts
    500

    Wink Help??

    WarMaster, would you know how to access to the parallel port in win nt or win 2k? I would be really interested thx in advance
    Amon Ra
    The Power of Learning.

  5. #5
    Hyperactive Member Warmaster199's Avatar
    Join Date
    Aug 2000
    Location
    Canada
    Posts
    306

    tsk, tsk, tsk...

    I have only heard things on Win NT based OS'es and I don't like it one bit(sorry ). I have never ever used an NT based system, I've only used Win 9x based. The problem with NT is that it restricts direct hardware access. You can only do direct hardware access if you do it with a driver.

    For parallel port(printer port), try this C code. There's no guaranty that it'll work(you'll get a "priviledged exception" error). This is NOT my code, it's from the net.
    Attached Files Attached Files
    Designer/Programmer of the Comtech Operating System(CTOS)

  6. #6
    Hyperactive Member Warmaster199's Avatar
    Join Date
    Aug 2000
    Location
    Canada
    Posts
    306
    ...And here's the serial port C code. I say the same as above: It may not work in NT, but give it a try
    Attached Files Attached Files
    Designer/Programmer of the Comtech Operating System(CTOS)

  7. #7
    Hyperactive Member Amon Ra's Avatar
    Join Date
    Feb 2001
    Location
    In some cave on Uranus...
    Posts
    500
    Error! Thanks though. The dll I am developing is for win9.x anyways
    Amon Ra
    The Power of Learning.

  8. #8
    Hyperactive Member Warmaster199's Avatar
    Join Date
    Aug 2000
    Location
    Canada
    Posts
    306
    No problem. I found that as I was looking for things for my OS. Comm support is a good feature, but that file will need some mod's
    Designer/Programmer of the Comtech Operating System(CTOS)

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