"However, two instances of this program, running in two instances of DOSEMU on one Linux machine, can open these files simultaneously, when in teorical not happen."
The two Clipper programs are running on two separate machines because each instance of DOSEMU is a separate machine. If the two DOSEMU emulators are networked togather using a DOS based networking then they would recognize each other's lock mechanisms. They would do so regardless of whether Clipper was running on two DOS machines or two DOSEMU emulators. But since there is no networking between the two DOSEMU emulators they know nothing of each other's lock mechanisms.
You might be able to fix the problem this way. Find out what directory the relevent lock files are kept in and then create a symbolic link from one DOSEMU's file tree to the same spot in the other DOSEMU's file tree.
___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html
Steve Stites