I have a problem with a CA-Clipper v5.3 program which has been linked
with ExoSpace.
The program works fine when run in a DOS box under Windows 3.11 or
Windows 95, but when executed on a DOS machine it reports
"DBFNTX / 1012 - Corruption Detected". The error is being raised on a
call to the dbsetindex() function for a database/index that is created
by the program at runtime. Both the database and the index that are
created appear to be correct and they can be accessed through other
programs.
My system configuration is as follows:
Pentium P166 with 32Mb RAM running MS-DOS 6.22
Compiler switches used: /n /m /l /w /es2
ExoSpace switched used: NONE
Config.Sys:
DEVICE=C:\WINDOWS\HIMEM.SYS
DOS=HIGH,UMB
COUNTRY=044,,C:\DOS\COUNTRY.SYS
SHELL=C:\DOS\COMMAND.COM /P /E:640
DEVICEHIGH=C:\DOS\SETVER.EXE
DEVICEHIGH=C:\DOS\DISPLAY.SYS CON=(EGA,,1)
DEVICEHIGH=C:\IMES_CD.SYS /D:IMESCD01
DEVICEHIGH=C:\WINDOWS\IFSHLP.SYS
FILES=150
LASTDRIVE = Z
STACKS=9,256
Autoexec.Bat:
@C:\TOOLKIT\GUARD.COM
@ECHO OFF
PROMPT $p$g
PATH C:\WINDOWS;C:\DOS;C:\UTILS;C:\DBASE;C:\CLIP53\BIN
SET TEMP=C:\WINDOWS\TEMP
SET TMP=C:\WINDOWS\TEMP
SET CLIPPER=//F:99
SET PIPEHANDLE=0
SET OBJ=C:\CLIP53\OBJ
SET LIB=C:\CLIP53\LIB
SET INCLUDE=C:\CLIP53\INCLUDE
LH C:\WINDOWS\MSCDEX.EXE /S /D:IMESCD01
LH C:\DOS\SMARTDRV.EXE /X
LH C:\DOS\DOSKEY.EXE
MODE CON CODEPAGE PREPARE=((437) C:\DOS\EGA.CPI)
MODE CON CODEPAGE SELECT=437
LH KEYB UK,,C:\DOS\KEYBOARD.SYS
Any help or advice would be very much appreciated.
Thanks in advance,
Shaun Donaldson
s.donaldson at virgin.net
Try it without SMARTDRV.
> LH C:\DOS\SMARTDRV.EXE /X
This line should read as
LH /L C:\DOS\SMARTDRV.EXE /X
or don't load it high.
C:\DOS\SMARTDRV.EXE /X
Smartdrv loads itself high by default (see DOS help), the LH statement
isn't required.
Under windows SMARTDRV hands the cache over to Windows to handle (if I
remember right).
Also have you used Optedit on your final exe.
ie. Optedit -EXTRAMIN=4096 <exe name>
HTH
--
Steve Quinn
BRUTE Computer Services - Australia
squinn@brutecom~com.au <--- ANTI-SPAM Replace ~ with .
http://www.brutecom.com.au
Shaun Donaldson <s.don...@virgin.net> wrote in article
<696660$n7e$1...@nclient3-gui.server.virgin.net>...