Results 1 to 4 of 4

Thread: C++ help, please!

  1. #1
    One skin, two skin......
    Join Date
    Jul 2003
    Location
    Durham
    Posts
    1,705
    Thanks
    0
    Thanked
    1 time in 1 post

    C++ help, please!

    Howdy campers!

    Need a little help on C++ programming.

    Basically I want to write data to an address. This address is that of the parallel port. Now, I know I can do it through a standard header file using the function outp, but I wanted to know how to write to specific addresses (by address number) directly for future reference.

    Also, which header is outp in? And how do I find which functions are contained in which headers? (and what they do, if possible!)

  2. #2
    Flower Child stytagm's Avatar
    Join Date
    Aug 2004
    Location
    London
    Posts
    754
    Thanks
    47
    Thanked
    23 times in 18 posts
    Don't know, sorry, have you tried loking at www.cplusplus.com?
    They told me I was gullible ... and I believed them.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    13
    Thanks
    0
    Thanked
    0 times in 0 posts
    This is serious stuff I'm afraid. If you need to do more than to write to a specific port, in this case the parallel port, you may be straying outside Win32 user mode, in other words I believe you may be asking how to develop kernel mode software. User mode programming provides a restricted interface in comparison with kernel mode. I suggest you check out the DDK for device driver programming. It's a long time since I did any device driver development myself, but I did manage to write a driver for a Summagraphics tablet for both the Amiga and the PC. It was non-trivial for both platforms!

  4. #4
    One skin, two skin......
    Join Date
    Jul 2003
    Location
    Durham
    Posts
    1,705
    Thanks
    0
    Thanked
    1 time in 1 post
    Thanks, I feared that may be the case. I'm new to this, but I want it to work now. RIGHT NOW! But I will perservere! Thanks again!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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