Diving into Windows based hardware device drivers

This is a discussion on Diving into Windows based hardware device drivers within the C++ Programming forums, part of the General Programming Boards category; Hi there I'm a beginner in VC++.I built a circuit which connect to parallel port,and my program communicate with it ...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    8

    Question Diving into Windows based hardware device drivers

    Hi there
    I'm a beginner in VC++.I built a circuit which connect to parallel port,and my program communicate with it in DOS OS.But I need to write a driver for this hardware in Windows,and I planed to do this in VC++.But i couldn't find any function to control parallel port bit by bit.So I searched,and I found that I have to use Windows DDK.Now my question,I have no any resource about DDK,no any sample code for it and ...,can you get me an idea for this?can you send me a small part of code about controlling parallel port bits like Strobe,like Busy bits?can you introduce me an online resource?I'm waiting to hear from you

    thanks in advance
    M_R AsAdi

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    This isn't as hard is it sounds. You may actually get all you need with the DDK. If not just look through the catalog of articles they have at msdn.

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    There is also some info at www.beyondlogic.org about ports & drivers. (And, they have a program that gives your program access to the ports.) There is detailed info about the parallel port at www.epanarama.net .

    [IMHO] Writing a true kernel mode driver is HARDER than it sounds! I've borrowed a book called "Programming the Windows Driver Model" by Walter Oney. This shtuff looks complicated! Of course, Oney is talking about drivers for arbitrary hardware, and the parallel port is common to all computers. So, I would think that most of whats needed should be built-into Windows(?) The programs at beyondlogic don't look too bad.

    [EDIT]
    I haven't looked at this yet, but it might be helpful...
    http://www.programmersheaven.com/zon...t610/25290.htm
    Last edited by DougDbug; 02-01-2003 at 03:32 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Diving into hardware device driver in Windows
    By AsAdi in forum Windows Programming
    Replies: 1
    Last Post: 02-01-2003, 02:30 AM
  2. Text Based Game, Windows API.
    By Pendragon_Tl in forum Windows Programming
    Replies: 3
    Last Post: 10-23-2002, 09:39 PM
  3. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. Installation of device drivers
    By Nor in forum Windows Programming
    Replies: 0
    Last Post: 05-06-2002, 11:50 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21