 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Periklis Zagoras Guest
|
Posted: Sun Jan 16, 2005 10:56 am Post subject: HELP!! Pirnter Driver source |
|
|
Hellow Everybody
Did anyone has a Generic Text printer driver source sample or any
printer driver source sample in Delphi or any link to find any sample (in
Delphi) ?
Thanks anyway
|
|
| Back to top |
|
 |
Matt Claessen Guest
|
Posted: Sun Jan 16, 2005 9:18 pm Post subject: Re: HELP!! Pirnter Driver source |
|
|
Hi,
"Periklis Zagoras" <perl (AT) otenet (DOT) gr> wrote
| Quote: | Did anyone has a Generic Text printer driver source sample or any printer driver source sample in Delphi or any link to find
any sample (in Delphi) ?
|
I don't think anyone is developing device drivers in Delphi. Even Borland C compilers are
not advisable.
In theory, it should be possible to use Delphi, but who wants to port megabytes of include
files to Delphi, only to find you are on your own when you hit some serious problem.
There are two ways to develop device drivers:
- The Microsoft way, in C, with the DDK and the prescribed compiler. Will take months
to get results.
- The fast but expensive way, with a package like offered by jungo (www.jungo.com)
Sorry I cannot really help, regards, Matt
|
|
| Back to top |
|
 |
Martin Harvey (Demon acco Guest
|
Posted: Mon Jan 17, 2005 7:50 pm Post subject: Re: HELP!! Pirnter Driver source |
|
|
On Sun, 16 Jan 2005 22:18:49 +0100, "Matt Claessen"
<nospam (AT) tiscali (DOT) nl> wrote:
| Quote: | I don't think anyone is developing device drivers in Delphi. Even Borland C compilers are
not advisable.
In theory, it should be possible to use Delphi,
|
It probably is, but I can see that you'll have to do the following:
1. Port the headers - including important macros that manipulate
kernel internal datastructures.
2. Write a post-processing app that takes the output of the Delphi
compiler, and changes it into an appropriate .sys file, as well as
munging appropriate entry points / load addresses etc etc.
This is another one of those thing I'd "like to do" if I was immortal
and had *loads* of time on my hands, cos I reckon I could do it. In
practice, it's not going to happen.
MH.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|