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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Divide by Zero patch not working 1

Status
Not open for further replies.

chrisls

Technical User
Jul 31, 2001
5
US
We recently installed win2k on several machines, some of which are clean installs. Now Foxpro 2.6 gives us a Divide by Zero Error on all win2k machines. The program worked on the before the upgrade (so I don't think it's a speed problem) and still works on the win95 machines. I've installed the patch/patches, and tried to upgrade to 2.6a (before the error patchs) but still get the error. I followed the instructions for the patches to the letter. I'm beyond a little frustrated. Can anyone help????

Thank you!!

 
Make sure you don't have multiple copies of the foxw2600.esl file in your search PATH. If even one of them is the unpatched version, it may be the one you are using.

Also, are you using the official Microsoft patch (that only works on FPW 2.6a), or did you use the DZPATCH program? While I've found them to be exactly the same, others have reported problems with the unauthorized one.

Rick
 
I used the Microsoft patch. On one machine I tried to upgrade it to 2.6a first then install the error patch but it didn't help. I just installed the error patch on the other machine but there was no difference. I'm starting to believe the patches aren't installing completely. I am installing them through the dos prompt... is that correct? Something else that might help, we are using the database on a server then we have the app on each machine. I suspected we would have to install the patches on the server to make it work. I made another machine to act like our server and mapped mine to it. Installed patches on all machines with no results. When we try to click on the db on the server we get a message that the foxpro library can't be found.... I don't think this is an issue since other machines work fine off of it. Am I explaining this very well?

Thanks!
 
Are you following the "README.TXT" file?

CD <drive and directory containing FOXW2600.ESL >
ATTRIB -r FOXW2600.ESL
PATCH26 FOXW2600.ESL
ATTRIB +r FOXW2600.ESL

This should copy the original (unpatched) file to &quot;Copy of Foxw2600.esl&quot;. Are you seeing this file after your fix?

Are you getting any errors or warnings?

Rick
 
Yep, I followed the readme instruction but don't see the &quot;Copy of Foxw2600.esl&quot; that's why I don't think the patch is actually getting applied. I've also followed the instructions in the Preadme which is from Microsoft and a little different. I don't get any errors or warnings while trying to apply the patch. I have a feeling if the problem was a snake I would have been bitten already.

Thanks!

 
I've done some searching and found that we don't have the file foxw2600.esl on any of our machines. We have foxprow.exe. So to answer your earlier question I'm not replacing the .esl file at all. What now??

Thanks!
 
OK, if you only have foxprow.exe's, then you must have bought developer licenses for all the workstations (as opposed to buying the distribution kit and using the FPW runtime - .ESL).

The readme.txt file that I have starts:
-----------------------------------------------------
README file for Patch26, v1.0, for FoxPro 2.6a
-----------------------------------------------------
...

And in part reads:

CD C:\FPW26
ATTRIB -r FOXPROW.EXE
PATCH26 FOXPROW.EXE
ATTRIB +r FOXPROW.EXE

PATCH26 copies the original (unpatched) files to &quot;Copy of
Foxprow.exe&quot; ...


When I just did this on my NT 4.0 SP6a system in the Command Window, I got the following response:

Microsoft (R) FoxPro for Windows 2.6a Patch, Version 1.0
Copyright (C) Microsoft Corp 1998. All rights reserved.
PATCH26: patch successfully applied to C:\FPW26\foxprow.exe

It did create the &quot;Copy of Foxprow.exe&quot; file in the same directory.

Rick

Rick

 
Rick,
You're a life saver! It worked!!!! Thank you so much for your help!! :-D




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top