xHarbour RYO index
xHarbour RYO index
(OP)
Hi All,
I am having problems converting a Clipper/SIxCDX program to xHarbour.
I have downloaded the latest version and cannot get it to link when using some sx commands:
sx_IndexTag, sx_KeyAdd and sx_KeyDrop are the main ones I'm using. I have also tried sx_RYOKeyAdd still to no avail.
I have included the SDE61.LIB in xBuilder LIB section. Is there another Lib I need to include?
xLINK: error: Unresolved external symbol '_HB_FUN_SX_INDEXTAG referenced from (XXX.obj)'.
What am I doing wrong!
Kind regards
p.s. Will there be an dedicated xHarbour Forum one day?
I am having problems converting a Clipper/SIxCDX program to xHarbour.
I have downloaded the latest version and cannot get it to link when using some sx commands:
sx_IndexTag, sx_KeyAdd and sx_KeyDrop are the main ones I'm using. I have also tried sx_RYOKeyAdd still to no avail.
I have included the SDE61.LIB in xBuilder LIB section. Is there another Lib I need to include?
xLINK: error: Unresolved external symbol '_HB_FUN_SX_INDEXTAG referenced from (XXX.obj)'.
What am I doing wrong!
Kind regards
p.s. Will there be an dedicated xHarbour Forum one day?
RE: xHarbour RYO index
HTH
TonHu
RE: xHarbour RYO index
This creates the idx files as cdx files which is technically wrong but it's now working again.
But the Roll Your Own is not included yet, still getting
xLINK: error: Unresolved external symbol '_HB_FUN_SX_INDEXTAG referenced from (XXX.obj)'.
Only lib files that contain sx_indextag are SDE61.LIB and SIX.LIB, both are included in the lib files.
I can continue testing without this RYO but I will need it later, but I want to switch to SQL Server anyway.
Kind regards
RE: xHarbour RYO index
If SDE61.LIB and/or SIX.LIB are meant for Clipper, then be sure to remove that from the xHarbour link list, it's not going to be compatible.
OTOH, I'm not sure these RYO indexes are directly supported in the way you use them. I've used plain scoped indexes like RYO indexes even in my Clipper days, and that stil holds up with the current state of xHarbour...
HTH
TonHu