Link to home
Start Free TrialLog in
Avatar of barzangy
barzangy

asked on

About drivers

Can someone give me some information about writing (device) drivers, how it's done? and how many methods are there? I think myself only about software interrupts.
can this be done with delphi?
Avatar of edey
edey

I believe this requires writing vxd's.  Is there any other means of accomplishing what you want?  You prob. don't want to have to resort to doing it that way.


GL
Mike
Avatar of simonet
First thing you need is the Microsoft Windows 98 or NT DDK (Driver Development Kit), available freely for download from Microsoft (can't remember the URL).

Delphi cannot be used ot write vxd's. Delphi only generates executables of type PE. Device drivers are files of type LE.

AFAIK, Visual C++ is the only product available that can create device drivers. I don't think even Borland C++ can do it.

I'm trying to find the URL for the DDK and I'll post it as soon as I find it.

Yours,

Alex

In this page you'll find all the information you want (including *COMPLETE* documentation for the Win95, 98 and Windows 2000 DKKs):

http://msdn.microsoft.com/library/default.htm

In this one you can download the Win98 DDK (for free):

http://www.microsoft.com/ddk/ddk98.htm


Yours,

Alex
I have written a couple of printer drivers. 95 and 98 are both 16 bit applications. I had to use a microsoft c compiler to do them. NT is 32 bit. Alex is right. You have to start with the DDK's in either case. NT is completely different from 95 or 98. I beleive there were only 6 methods in the printer driver, however. And again, Delphi cannot be used.
Avatar of barzangy

ASKER

I only want a theoretical answer, some information on the methods used, I don't aim to write device drivers now, just wanna understand how it works, and are software interrupts the only way?
Well, for 20 points, read the first link I gave you. It includes full docs for the DDK.
The principles are also explained there.

Alex

Additionally, barzangy, why are you insisting on interrupts? You will hardly have any contact with interrupts. They are mostly used for internal communication...

Ciao, Mike
Adjusted points to 22
This question has been undeleted.  The points for this question were originally 22 but have been reduced to 0
Adjusted points from 0 to 22
Restoring question.

darinw
Customer Service
ASKER CERTIFIED SOLUTION
Avatar of simonet
simonet
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial