Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clipper with WinXP 2

Status
Not open for further replies.

MarkYoungIW

IS-IT--Management
Aug 17, 2004
12
GB
We are running a Clipper database that has run fine on Windows 98 using the following inserts in the autoexec.bat and config.sys

Autoexec.bat
SET CLIPPER=v015;f255;r016;e000

Config.sys
DEVICE=C:\WINDOWS\SETVER.EXE
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE noems x=d000-dfff
DOS=HIGH,UMB
FILESHIGH=255
STACKSHIGH=9,256
FCBSHIGH=4,0
SHELL=C:\COMMAND.COM C:\ /P /E:512
COUNTRY=044,,C:\DOS\COUNTRY.SYS
DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS

However, in Windows XP I take it this should be added to the config.nt file, but what needs to be done with:-

DEVICE=C:\WINDOWS\EMM386.EXE noems x=d000-dfff

I would be very grateful with some help with this as Clipper is far from being anything I have ever really dealt with.
 
Hello,

From an XP perspective I am pretty sure the main criteria is the number of file handles.

The emm hasn't crossed my path!

In the c:\winnt\system32\config.nt file (swap winnt for windows as required) you need an entry that says:

Code:
files=200

In fairness, my config.nt has:
Code:
dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=200

So perhaps that might help!

Regards

Griff
Keep [Smile]ing
 
Hi Griff,
Thanks for that. Have tried editing the config.nt file as you said above (tried upping file= to 255 too) and I still get a Dos 4 error.

Basically it comes up with:-

Procedure Check_Dex line 702 open error survey.dbf Dos Error 4

Any help would be most appreciated.

Regards

Mark.
 
Ah,

Sorry, missed your environment variable...

Code:
SET CLIPPER=v015;f255;r016;e000

I think you need to add that as a property on the workstation - unless you can get it burnt into the application at compile/link time.

To do that, right click 'My Computer' on your desktop, select 'Properties' then use the 'Advanced' tab and click on the 'Environment Variables' button and add a system variable called CLIPPER and give it a value of V015;F250;R016;E000

(I'm not sure 255 is good, as you always have about 5 open anyway stdin, stdout, stderr, con etc...)

Regards

Griff
Keep [Smile]ing
 
Fantastic!!!!

Works perfectly now!!!

Many many thanks for that.

Lifesaver.

Mark.
 
Many thanks are mostly shown with a STAR.
A star for Griff from me.

Rob.
 
Opps. Sorry about that.

Thanks for giving Griff a star for me Rob.

Now that does get confusing, is that a star from me to you now Rob!? ;o)
 
I'm not in it for the stars (honest guv)... but they do help people spot the useful posts!

Thanks for your support Rob

Regards

Griff
Keep [Smile]ing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top