(DOS Error 38) DBFCDX/1010 reading first dbf of program

930 views
Skip to first unread message

Antonino Perricone

unread,
Feb 14, 2018, 11:59:53 AM2/14/18
to Harbour Users
Hello, 
In our program, sometime during the start, it raise this error. It looks random.
If close and reopen, the error does not re-raise...
We am using this configuration:
RddSetDefault( "DBFCDX" )
SET DBFLOCKSCHEME TO DB_DBFLOCK_HB32
#define SM_REMOTESESSION 4096
IF ! GetSysMetrics( SM_REMOTESESSION )
   win_osNetRegOk(.T.)
ENDIF
set( _SET_MBLOCKSIZE, 64 )    // 32 = default six3, 64 for comix
set( _SET_AUTOPEN,   1 )
set( _SET_AUTORDER,  1 )
set( _SET_AUTOSHARE, 1 )
set( _SET_OPTIMIZE, .T.)
disablewaitlocks(.T.)

This code is inherited from old times, and I am not sure about it...
Someone is able to understand it?
Thanks,

Roberto Borges

unread,
Feb 14, 2018, 3:33:01 PM2/14/18
to Harbour Users

Antonino Perricone

unread,
Aug 9, 2018, 8:22:40 AM8/9/18
to Harbour Users
The link does not work anymore... do you remember what is?
Some time opening some hundred dbfs 2 of them have same handles (getted with dbInfo(DBI_FILEHANDLE))...
How it is possible?

My program raises other errors sometime:
(DOS Error 5) DBFCDX/1010
and
(DOS Error 6) DBFCDX/1010

does it happen only on my program? someone know how to fix them? workaround? why?
Thanks..
Antonino

Roberto Borges

unread,
Aug 9, 2018, 10:27:51 AM8/9/18
to Harbour Users
View ATTRIB command ...


Or chkdsk command ...

Or The ACL to user/files  access ...

Best Regards


Em quarta-feira, 14 de fevereiro de 2018 13:59:53 UTC-3, Antonino Perricone escreveu:

Roberto Borges

unread,
Aug 9, 2018, 12:05:26 PM8/9/18
to Harbour Users


Em quarta-feira, 14 de fevereiro de 2018 13:59:53 UTC-3, Antonino Perricone escreveu:

Roberto Borges

unread,
Aug 9, 2018, 1:38:52 PM8/9/18
to Harbour Users
Best Regards

Em quarta-feira, 14 de fevereiro de 2018 13:59:53 UTC-3, Antonino Perricone escreveu:

Antonino Perricone

unread,
Aug 27, 2018, 4:37:59 AM8/27/18
to Harbour Users
Many thanks Roberto, for the error identification I use this link: https://docs.microsoft.com/en-us/windows/desktop/Debug/system-error-codes--0-499-

My problem looks something different, it is very sporadic, it happens that 2 dbf get the same file handle, maybe it is a problem of code, but looking in the code I was not able to found where this value is assigned...
It happens on my personal computer too, without no other user connect nor other program reading the dbf, if just after the error, i restart the program the program it does not happen again,

I don't know what i can do to remove this annoying problem.
Regards,

Antonino Perricone

unread,
Aug 27, 2018, 5:19:53 AM8/27/18
to Harbour Users
Another annoying problem is that: sometime the header of a column changes, for example I have a column "State" and it become "STA2018082" and I don't know why...
Maybe it is necessary change RDD...
Reply all
Reply to author
Forward
0 new messages