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
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
"Ella" <ella....@xharbour.com> schreef in bericht
news:b965fa9f-460a-44ae...@t13g2000yqt.googlegroups.com...
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