Home

About Us

Books

Free Stuff

Oh, So That's How It Works!

Fellow Magicians

Useful Links



WizardWrx Logo

Technical Articles

Running DataEase for DOS 4.53 on Windows XP


David A. Gray, MBA
Chief Wizard, WizardWrx

I have clients running DataEase 4.53 on Windows XP, and our client billing application is still DataEase 4.53, albeit on a Novell network.

You need a PIF (shortcut file to a MS-DOS program) to gain control of the NTVDM settings that are critical to running DataEase on Windows XP. Mine has the following settings:

Notes

  1. The Idle Sensitivity setting on the Miscellaneous tab is extremely important, as it has a significant effect on performance. The default setting, which is at the other end of the slider, produces very poor performance.
  2. EMS memory is of almost no value in recent versions of DataEase. XMS and DPMI memory are essential.
  3. I set upper bounds of 4096 KB on both XMS and DPMI memory because DataEase can't really use more than that, and automatic allocation adversely affects performance.

Creating Your PIF

In order to create a PIF, you must create a shortcut to a MS-DOS program such as DataEase itself. When you view the shortcut, the three extra tabs discussed above will appear, as shown in Figure 4 below.

DataEase PIF - General Tab
Figure 4 - General Tab of DataEaee PIF, showing additional Memory, Screen, and Misc. tabs.

Once the PIF exists, the Program tab can be altered, as shown in Figure 5 below.

DataEase PIF - Program Tab
Figure 5 - Program Tab of DataEaee PIF, showing subsequent addition of command line arguments.

Limiting Users to One Instance

A common problem with many applications, including DataEase, is that Windows will let you start two or more copies. While this is not usually a problem, for DataEase users, the consequences can be quite serious, including corruption of the data base.

This problem led us to create P6_Just_1, a Windows program that you add to your Start Menu in place of the DataEase PIF discussed above. While you still need the PIF, P6_Just_1 will see to it that only one copy is running. Here is how it works.

  1. Using information supplied by you in the shortcut, it looks for another instance of the program that you want to call.
  2. If another instance is found, its main window is brought to the foreground and given the focus.
  3. If another instance is not found, the program is started and given the focus.

Read more about P6Just1 and download your free trial copy to protect your data from corruption.




P6C Contact Info

Copyright and Legal Notice