INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

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?

RE: xHarbour RYO index

This one would be best brought to the xHarbour google group over here

HTH
TonHu

RE: xHarbour RYO index

(OP)
I've found the partial fix... reindex.

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

These lib files have to be xHarbour specific, or they need a shim to communicate between the xBase language of xHarbour and the C or C++ nature of those lib files.
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close