MS SQL Connection Question? Rick Lipkin??

MS SQL Connection Question? Rick Lipkin??

Postby bradmaudlin » 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.
bradmaudlin
 
Posts: 27
Joined: Fri Jan 11, 2008 9:58 pm
Location: St Joe, MO

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Rick Lipkin » Sat Jan 12, 2008 1: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
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Postby nageswaragunupudi » Sat Jan 12, 2008 2: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
User avatar
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Sat Jan 12, 2008 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby nageswaragunupudi » Sat Jan 12, 2008 7: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
User avatar
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Sat Jan 12, 2008 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Sat Jan 12, 2008 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby nageswaragunupudi » Sat Jan 12, 2008 7: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
User avatar
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Sat Jan 12, 2008 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby nageswaragunupudi » Sat Jan 12, 2008 9: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
User avatar
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Sat Jan 12, 2008 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby nageswaragunupudi » Sat Jan 12, 2008 9: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
User avatar
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Sat Jan 12, 2008 9:13 am

Thanks!
regards, saludos

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

Postby nageswaragunupudi » Sat Jan 12, 2008 10:57 am

rddads complied by me also is working.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 21 guests