VOGONS


First post, by GermanAlex

User metadata
Rank Newbie
Rank
Newbie

On the same computer (XP SP3 x86) I open DosBox, run FoxPro 2.6. Open a DBF (with 200 or more records) in shared mode. Add a record, input some data, move up and down in the DBF. I open the same DBF in FoxPro with NTVDM. (normal mode) As long as I don’t close the DBF in Fox under DosBox the data written there is not committed, no matter what I do or how long I wait. FLUSH or UNLOCK won’t help either (in Fox under DosBox). My FOX program working on the network crashes every time it tries to even SCAN the DBF because there is some LOCK on the DBF. I need DosBox because a client has a computer with Windows 7 64Bit in the network and I have to run Fox on that computer. How can I solve this problem, please?

Reply 1 of 9, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

This is not supposed to work.

Reply 2 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

You could use a VNC client like TightVNC to access the desktop of one computer from the computer running Windows 7.

Reply 3 of 9, by GermanAlex

User metadata
Rank Newbie
Rank
Newbie

Does someone now where I can find a working VDH with DOS + network. I found DOS VHD + DOS Client + Network driver but I can’t figure why it doesn’t work. I used it a few years ago and it worked ok. I am not sure about the virtual network driver.

Reply 4 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

You're not making any kind of sense. What does a DOS VHD have to do with anything!? Were you using this DOS VHD under XP a few years ago? Are you expecting it to work in DOSBox? How will this solve your problem? Details, details!

(By the way, DOSBox can mount hard drive images directly with the IMGMOUNT command.)

Reply 5 of 9, by GermanAlex

User metadata
Rank Newbie
Rank
Newbie

As you see above I can't use DosBox and FOX in the network. So I tried to use a VHD (virtual HDD) with DOS + Network, but I can't make it work (at least not in the virtual world). I used DOS + Fox in the network and I had no problem. That's why I am looking for a VHD with DOS and a working Network.

Reply 6 of 9, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

How do you use a virtual HD? Are you talking about Virtual PC?

Reply 7 of 9, by GermanAlex

User metadata
Rank Newbie
Rank
Newbie

yes

Reply 8 of 9, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Ask microsoft or search their vpc pages whether they provide such VHDs.

Reply 9 of 9, by Gene Wirchenko

User metadata
Rank Member
Rank
Member
GermanAlex wrote:

On the same computer (XP SP3 x86) I open DosBox, run FoxPro 2.6. Open a DBF (with 200 or more records) in shared mode. Add a record, input some data, move up and down in the DBF. I open the same DBF in FoxPro with NTVDM. (normal mode) As long as I don’t close the DBF in Fox under DosBox the data written there is not committed, no matter what I do or how long I wait. FLUSH or UNLOCK won’t help either (in Fox under DosBox). My FOX program working on the network crashes every time it tries to even SCAN the DBF because there is some LOCK on the DBF. I need DosBox because a client has a computer with Windows 7 64Bit in the network and I have to run Fox on that computer. How can I solve this problem, please?

You might be out of luck. As I recall, FoxPro does some non-standard locking. It locks in the upper 2 GB of 4 GB corresponding to the actual bytes being locked. (This is so locked records can still be read.) That is why tables are limited to 2 GB. This may be causing problems with DOSBox.

You could use Visual FoxPro under Windows.

Sincerely,

Gene Wirchenko