"Primorec" == Primorec igor.furlan@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