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 internal fault 3

Status
Not open for further replies.

markussieber

Technical User
Oct 22, 2003
4
DE
hi!
i got 2 problems.1st:we r working with an old program which`s programed with clipper 5.2
it issn`t running anymore.the note says internal fault 1010
i don`t know why!
2nd prob:is there a possibility to run this program with windows xp professional?if yes,how?
would b great if somebody could help me!
thax a lot!
 
I cannot find what internal fault 1010 stands for.
The clipper application will run in the xp dosbox, when applying the proper "set clipper" setting.

What version of 5.2 was used to compile?
If it is less than 5.2d apply the updates and recompile.

Rob.
 
hi rob!
thax for ur answer!
the clipper version is 5.2e.could u give me an adress or what ever could help to run it under xp.i`m not an expert with win xp.is there a possibility that new computers running with xp r to fast for the program?somebody told me that.
 
Hi, Markussieber

I have had 1010 a couple of times. In each case it was due to the DBF or DBT being corrupt - # of recs in the hdr did not match file length or DBT pointer wrong. I have also heard others say it can be due to memory or stacks, however in my case copying the records into a new .DBF fixed the problem. I also had it once due to bad data (high ASCII chars) in an index field. Basically 1010 seems to be saying "I/O didn't work", so it is a bit of a catchall, I guess.

Regarding running under XP, there are some concerns such as clipper apps hogging the CPU but it works OK and I have lots of XP machines in the 2.2 gHz range running clipper apps and the speed has never been a problem.

The tricky bit with XP is getting the environment set up properly (set clipper=, plus file handles etc) since XP does not use config.sys or autoexec.bat. Also if using networked apps there is the opportunistic locking problem to consider, which requires registry hacks. All of that is the same as other NT-class Windows OS's.

Jock
 
I'm guessing you are using the DBFNTX RDD driver with your Clipper 5.2e app?
This is known to be bugfull (as in : full of bugs) so please consider replacing it with the (excellent) DBFCDX RDD.
Instructions on replacing the default RDD are in the excellent Norton Guides of Clipper (Default installed in \NG dir) Use WEG (Windows Expert Guides, from for having a nice look at them from a Windows perspective, it works very well on WinXP also.

HTH
TonHu
 
hi!
first of all,thax for helping me!
i tried to run this fucking calculation program with win xp.but after starting it just say integer divide by 0
is there a possibility or could somebody explain what i could do.i think i`m to stupid for that!i never worked before with programs based on clipper!!
thank u!!
 
in which part of win xp do i have to paste the lines of the config.sys and autoexec.bat which r required for clipper?and how to do it?
 
c:\windows\system32\autoexec.nt
c:\windows\system32\config.nt

Be sure to backup the original files first!
Use the same method as with DOS for the SET CLIPPER settings and the files = setting.

Rob.
 
markussieber,

The Divide by 0 is the R6003 message I was referring to.
Code:
<snip> (from jajiyiko)
Your applications should compile with __wait.obj file.

Example:

Clipper myapp
blinker file myapp,__wait.obj 
</snip>

And this is what I found on Dave Pearson's site:
<snip>
* What is runtime error R6003?

FAQ:

Example Google search:

Update (FAQ requires updating with this information):
ftp://ftp.ca.com/pub/clipper/tools3.zip fixes the problem.

Alternative:
If you don't have access to the source code for the program that is displaying this problem and so you can't rebuild using any of the above fixes you might want to try Attila Feher's program that attempts to directly patch your executable. You can download this patch program from </snip>

I hope to have helped enough with all this?

Success s-)
TonHu
 
The 1010 error is a DBFNDX error. It indicate that a read error occurred on the specified file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top