I have solved my problem, I have set the registry in /software/wine/vdm/ppdev [Software\\Wine\\VDM\\ppdev] 1158041439 "378"="/dev/parport0" "379"="/dev/parport0" "37a"="/dev/parport0" "37b"="/dev/parport0" "37c"="/dev/parport0" "37e"="/dev/parport0" "37f"="/dev/parport0" "778"="/dev/parport0" "779"="/dev/parport0" "77a"="/dev/parport0" and the most important thing was to run the application in win 98 "emulation mode". (I ran it in win NT mode) Now I'm trying to run an application which uses HASP hardware key on parallel port. Do you have any idea how to run this kind of applications? Thanks Tom dank wrote: > lubos wrote: > > > > What I need is to set the port numbers for the direct access. In the > > > > old version of wine it was: > > > > > > > > [ports] > > > > "read" = "0x378-0x37f,0x778,0x779-0x77a" > > > > "write" = "0x378-0x37f,0x778,0x779-0x77a" > > > > > > > > How can I set this port numbers in the new version. I don't know, how > > > > to write it to the registry. > > > > > > According to the Wine Users Guide ... > > > http://wiki.winehq.org/UsefulRegistryKeys > > > under HKCU/Software/Wine/VDM/ppdev > > > > I know about this UsefulRegistryKeys but there is only how to set > > mapping between port_number and /dev/parportN device. I need the direct > > access to the port without some device. > > Believe it or not, the same registry keys control both modes > of parallel port access. See > http://source.winehq.org/source/dlls/winedos/ioports.c > I don't understand how it's all wired up, though. > > So, what does the console show when you run your software with > WINEDEBUG=+int wine yourapp.exe > ? > - Dan _______________________________________________ wine-users mailing list wine-users@xxxxxxxxxx http://www.winehq.org/mailman/listinfo/wine-users