Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DBFCDX / 1001 Error

474 views
Skip to first unread message

Frank Demont

unread,
Jul 8, 2009, 11:48:31 AM7/8/09
to
Hello,

I try to convert a clipper 5,3b aplication to xharbour on a VISTA computer :

? File("c:\BestelSysteem\HenWin\DataAnsi\bediende.dbf") // Gives .T.
USE ("c:\BestelSysteem\HenWin\DataAnsi\bediende.dbf") // ERROR DBFCDX/1001
Open Error

DBFCDX/1001 is not documented , maybe some restrictions for users ?

Frank Demont

Ella

unread,
Jul 8, 2009, 12:33:50 PM7/8/09
to
Frank,

xHarbour's default RDD is DBFNTX. In case you need DBFCDX:

REQUEST DBFCDX

and later do
RddSetDefault( "DBFCDX" )
or
use ("mytable.dbf") via "DBFCDX"


Ella

Frank Demont

unread,
Jul 8, 2009, 1:22:24 PM7/8/09
to
Thanks for the sugestion , but i showed only the offending line , of course
was dbfcdx loaded as expected.

Frank
"Ella" <ella....@xharbour.com> schreef in bericht
news:b965fa9f-460a-44ae...@t13g2000yqt.googlegroups.com...

dlzc

unread,
Jul 8, 2009, 1:42:11 PM7/8/09
to
Dear Frank Demont:

On Jul 8, 8:48 am, "Frank Demont" <demontfr...@scarlet.be> wrote:
>
> I try to convert a clipper 5,3b aplication to xharbour
> on a VISTA computer :

Do you have read-write rights to the directory you list below? Vi$ta
is way more restrictive than XP and previous.

> ? File("c:\BestelSysteem\HenWin\DataAnsi\bediende.dbf") ;
>  // Gives .T.
> USE ("c:\BestelSysteem\HenWin\DataAnsi\bediende.dbf") ;
>  // ERROR DBFCDX/1001
> Open Error
>
> DBFCDX/1001 is not documented , maybe some
> restrictions for users ?

Is this a multi-threaded application (probably not)?
What is the status of SET EXCLUSIVE, and/or is one or more other
applications accessing the same file?

It simply says it could not open the file, that is what an open error
means. You could also check the status of HB_Oserror(), Doserror(),
Ferror() and/or Neterror() that would have been written to your fault
log (finding it on Vi$ta might be fun...)

I suspect it is not the Clipper conversion that is the problem, but
your Clipper code is no longer "translated" by Command.com in Vi$ta.

David A. Smith

0 new messages