raw parallel port access
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Wed Sep 22 03:50:24 CDT 2004
>>>>> "Primorec" == Primorec <igor.furlan at gmail.com> writes:
Primorec> I am trying to achieve the same goal as Chris to no avail. My
Primorec> Windows program uses INPOUT32.DLL for talking to the parallel
Primorec> port. Does this dll belongs to "some unknown VXD" ?
http://www.logix4u.net/inpout32.htm
tells:
2) Using a kernel mode driver embedded in the dll
However
http://www.logix4u.net/inpout_theory.htm
shows that when running under win9x, it should use inp/outp.
So try setting the wine version to win98. With the ppdev part configures
right, and you as user having access right to the configured /dev/parport,
things should work. Look with WINEDEBUG=+io,+int,+vxd
This could be your first approach.
Regarding inpout32:
The source can be found on http://www.logix4u.cjb.net. The dll only exposes
two functions:
LIBRARY INPOUT32
EXPORTS
Inp32 @1
Out32 @2
So to reimplement it in Wine, you only need create a new wine dll named
INPOUT32. All the dll implementation has to do is to forward these functions
to DOSVM_inport and DOSVM_outport. Can I leave the implementation to you?
However the way the original dll loads the hardwrae driver is very
instructive!
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the wine-devel
mailing list