MS SQL Connection Question? Rick Lipkin??

bradmaudlin
Posts: 23
Joined: Fri Jan 11, 2008 9:58 pm
Location: St Joe, MO

MS SQL Connection Question? Rick Lipkin??

Post by bradmaudlin »

Hi Rick (or anyone else),
I'm trying to compile and link some of your sample code for MS SQL connections. I'm doing something wrong. I get some unresolved externals.

--------------------------------------------------------------

Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_USRRDD_RDDDATA' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_USRRDD_AREADATA' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_USRRDD_ID' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_UR_SUPER_ERROR' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_UR_SUPER_SETFIELDEXTENT' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_UR_SUPER_ADDFIELD' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_UR_SUPER_OPEN' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_UR_SUPER_CLOSE' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_USRRDD_GETFUNCTABLE' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd

--------------------------------------------------------------------------

I'm linking in ADORDD.LIB (Dated 4-27-2007 9,728 byte)
Also included "adordd.ch" in main PRG.

Am I still missing something??

Anyones help would be appreciated.

Thanks,

Brad
C&M Business Machines, Inc.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Brad,

You are linking the ADORDD.lib for Harbour, not for xHarbour.

You have to link the ADORDD.lib for xHarbour and also USRRDD.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Post by Rick Lipkin »

Brad

When I was testing adordd .. there was a usrrdd.c file that Antonio distributed .. I linked in adordd.prg as well as usrrdd.c and I was successful in makeing it work.

I think the usrrdd.lib file with the latest version of (x)Harbour has some problems ..

I still have the origional usrdd.c file and you can easily add that to your make file instead of the usrrdd.lib ..

If you wish to try .. send me an e-mail lipkinrm29063@yahoo.com and I will be glad to send it to you .

Rick Lipkin
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

I did not get usrrdd.c with my FWH. Only usrrdd.lib. I am interested in the c source code. Can you please email me too?

My problem is matching source code of rdd_ads. If i can get the source of rdd_ads ( *.c and *.h ) used by FWH, that would be nice. Is it too much to expect from Mr. Antonio ?
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

NageswaraRao,

You can get that source code directly from the Harbour SVN or from the xHarbour CVS. Its open source.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

What I meant was the exact version that matches with FWH release. the source code i downloaded and used did not match and got GPFs.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

NageswaraRao,

You can do a checkout of the file for a specific date, the same date used to build the xHarbour build
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

NageswaraRao,

Anyhow, yesterday I was reported that the RDD GPFs have been fixed in a recent xHarbour build.

So if you do a checkout of the current xHarbour CVS code and build it, it will probably work fine without GPFs.

If you want, we may prepare a new xHarbour build here so you can check it and see if the GPFs are solved :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

> If you want, we may prepare a new xHarbour build here so you can check it and see if the GPFs are solved

I would be very glad if you can do that. Thanks in advance
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

NageswaraRao,

Here you have it:
http://rapidshare.com/files/83156204/xharbour.exe.html

We appreciate your feedback, thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

Mr Antonio

Thank you very much. I installed the new xHarbour.

ADORDD is working perfectly with the usrlib.lib of the new xharbour.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

NageswaraRao,

> ADORDD is working perfectly with the usrlib.lib of the new xharbour.

Very good! :-)

Have you tested ADS RDD also ? many thanks for your feedback,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

rdd_ads.lib that is installed works fine.

But I need to reconstruct it with my modifications. I am downloading the latest sources. I rebuild and confirm, but I am confident it will work.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Thanks!
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

rddads complied by me also is working.
Regards

G. N. Rao.
Hyderabad, India
Post Reply