Has anyone got a CDX version of DBU already compiled.
The error I get by the way (using BLINKER) is that __sxDoError is an
unresolved function within the DBFCDX.LIB module - is there any way
around that?
Geoff Barnard
All I did was add
LIB DBFCDX
to the dbu.lnk file
and
request dbfcdx
to the dbu.prg
and do
rmake dbu.rmk
I didn't get the error you seem to have.
Clipper 5.2e
Blinker 5.1
--
HTH
Steve Quinn
http://www.tuxedo.org/~esr/faqs/smart-questions.html
'I want to move to Theory...Everything works in Theory'
Better add _dbfcdx.lib as well
> to the dbu.lnk file
>
> and
> request dbfcdx
+ rddsetdefault("dbfcdx")
> to the dbu.prg
>
> and do
> rmake dbu.rmk
>
> I didn't get the error you seem to have.
> Clipper 5.2e
> Blinker 5.1
There's an error when modifying the structure of a file with memo's.
Somewhere in dbustru.prg the extension ".dbt" is hardcoded. This
should be changed to ".fpt" (or be dynamically generated).
--
Jules Alberts
[the email address is for spambots only]
Götz
"Jules Alberts" <ro...@localhost.localdomain> schrieb im Newsbeitrag
news:slrnamrmu...@cuci.nl...
One does support for indexes (CDX) the other one for memofiles (FPT).
I don't remember which one is which, I just link in the both of them.
> One does support for indexes (CDX) the other one for memofiles (FPT).
> I don't remember which one is which, I just link in the both of them.
I'm not 100% sure if this applies for 5.2 also. But this is a qoute from
the 5.3 readme:
LIB Directory
-------------
DBFCDX.LIB, _DBFCDX.LIB
These two libraries are known as the FoxPro Replaceable Data Driver.
You cannot use one without the other -- they both must be linked into your
application in order to use CDX indexes. In addition, if you are using
these two libraries, there is no need to include DBFMEMO.LIB as that
library's functionality is included in _DBFCDX.LIB.
HTH
Thomas Braun
The DBFCDX file gives support for CDX files as long as they don't
have Memo fields in them. If you wish to support/open files with
memos you will need to link *BOTH* files into the application.
Since you want to make a DBU application I would recoment linking
both into the app..
HTH
Ian
> Better add _dbfcdx.lib as well
Why - it's implictly linked in.
Try it with this short program
-------------------------------------
// x.prg
function main()
request dbfcdx
rddsetdefault( 'dbfcdx')
field x1
dbcreate('xyz', {{'x1','c',5,0},{'x2','m',10,0}})
use 'xyz' alias aaa
index on x1 tag 'fred'
dbappend()
aaa->x1 := '12345'
aaa->x2 := replicate('az',10)
close
return nil
-------------------------------------
clipper x /w/m/n
blinker fi x li dbfcdx
> + rddsetdefault("dbfcdx")
Only if you want that to be the default
- all I was doing was seeing if I got the same error or not.
You are correct, 5.2 does not need _DBFCDX there is only one driver
which is DBFCDX.
Try DBX. It support NTX, CDX, ...
Last time I looked it was included in the Clipper distribution. I
don't recall if it was compiled and linked though, you may have to do
that yourself.