FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour MS SQL Connection Question? Rick Lipkin??
Posts: 27
Joined: Fri Jan 11, 2008 09:58 PM
MS SQL Connection Question? Rick Lipkin??
Posted: Fri Jan 11, 2008 10:22 PM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MS SQL Connection Question? Rick Lipkin??
Posted: Fri Jan 11, 2008 11:10 PM

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
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 01:52 AM

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

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 02:50 AM

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 07:09 AM

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 07:17 AM

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 07:37 AM

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 07:39 AM

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 07:50 AM

> 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 08:39 AM

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 09:02 AM

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 09:06 AM

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 09:08 AM

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 09:13 AM

Thanks!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
MS SQL Connection Question? Rick Lipkin??
Posted: Sat Jan 12, 2008 10:57 AM

rddads complied by me also is working.

Regards



G. N. Rao.

Hyderabad, India