FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New AdoRDD (free)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New AdoRDD (free)
Posted: Tue Oct 20, 2009 12:13 PM

Massimo,

ADO knows nothing about RDD Aliases, so they should not be used in ADO expressions

ADORDD is a free and open source RDD. It seems to me as you don't understand the real meaning of that :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 52
Joined: Mon Oct 17, 2005 08:42 PM
Re: New AdoRDD (free)
Posted: Tue Oct 20, 2009 04:14 PM
For me Is not a problem. I am not using adordd in my project
I tryed verify if possible remove same problem (present using sample!)
posting here the three problem and I can't find any solution
In other free and open source project i have found different result
This is my Last mail on this argument
Antonio Linares wrote:Massimo,
ADO knows nothing about RDD Aliases, so they should not be used in ADO expressions
ADORDD is a free and open source RDD. It seems to me as you don't understand the real meaning of that :-)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New AdoRDD (free)
Posted: Tue Oct 20, 2009 06:15 PM

ADORDD is a contrib folder in both Harbour and xHarbour compilers projects.

It is a great example of the USRRDD (user defined RDDs) use and also a great source for learning ADO. And it has been very usefull for many developers :-)

We should check if it currently works with xHarbour. In that case it would confirm that it is a Harbour new OLE implementation problem.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
Re: New AdoRDD (free)
Posted: Tue Jan 26, 2010 11:57 PM

I recently downloaded the Harbour v2.0 project (with contrib libs), and have been trying to find the ADORDD.lib and USRRDD.lib
without success.

I am wanting to perform a simple test using the ADO xbase convention (ie: use, dbseek(), dbskip()...)

Any assistance is greatly appreciated.

Don Lowenstein
www.laapc.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New AdoRDD (free)
Posted: Wed Jan 27, 2010 01:08 AM
Don,

USRRDD.lib is named as hbusrrdd.lib

Can't find ADORDD.lib in the Harbour 2.0 setup files, but you can download it and build it from here:
http://harbour-project.svn.sourceforge.net/viewvc/harbour-project/branches/harbour-1.0/contrib/rddado/
http://harbour-project.svn.sourceforge.net/viewvc/harbour-project?view=rev&revision=9359
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
Re: New AdoRDD (free)
Posted: Wed Jan 27, 2010 06:11 PM

Thank you Antonio - that seemed to work for my testing.

Don Lowenstein
www.laapc.com
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
Re: New AdoRDD (free)
Posted: Thu Feb 04, 2010 07:29 PM

is the adordd availble for xharb10?

Don Lowenstein
www.laapc.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New AdoRDD (free)
Posted: Fri Feb 05, 2010 07:09 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
Re: New AdoRDD (free)
Posted: Fri Feb 05, 2010 08:37 PM

Thank you Antonio

Don Lowenstein
www.laapc.com
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
Re: New AdoRDD (free)
Posted: Fri Feb 05, 2010 10:25 PM

Antonio,

I am trying to compile the adordd.prg from your reference above, and I recieve the following:

Error: Unresolved external '_HB_FUN_HB_SYMBOL_UNUSED'

Borland Xharb10 with fwh7

Any help is greatly appreciated.

Don Lowenstein
www.laapc.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New AdoRDD (free)
Posted: Sat Feb 06, 2010 07:02 PM
Don,

Please add this line to the beginning of the PRG:
Code (fw): Select all Collapse
#define HB_SYMBOL_UNUSED( symbol )  ( symbol := ( symbol ) )
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
Re: New AdoRDD (free)
Posted: Sun Feb 07, 2010 07:09 PM

Thanks Antonio - that seemed to work :D

Don Lowenstein
www.laapc.com
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
Re: New AdoRDD (free)
Posted: Mon Feb 08, 2010 07:15 PM

My xharbour 1.0 test is not working with the ADORDD - it compiles, however I get a runtime error.
"Error ADOX.Catalog/6 DISP_E_UNKNOWNNAME: TABLES from Errorsys, line: 0"

I am atempting the same test in Harbour 2.0 -
(same source code as with xharbour 1.0 / This source works in Harbour 2.0 without FWH7 )

However, when I compile my code with Harbour 2.0 / Fwh7 / BCC 5.5
I get the following message -
t:\fwh7\include\FiveWin.ch(81) Warning W0001 Redefinition or duplicate definition of #define HB_SYMBOL_UNUSED

This seems to be the opposite of the prior message???

Any ideas?

Don Lowenstein
www.laapc.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New AdoRDD (free)
Posted: Tue Feb 09, 2010 12:55 AM

Don,

That define is provided in Harbour but not in xHarbour, thats why you get the warning in Harbour and the error with xHarbour.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
Re: New AdoRDD (free)
Posted: Tue Feb 09, 2010 03:56 PM

Thanks Antonio - I got through the compile step - now I get the following at link time

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from T:\FWH7\LIB\FIVEH.LIB|ERRSYSW
Error: Unresolved external '_HB_FUN_HB_DBG_VMSTKLCOUNT' referenced from T:\FWH7\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMPARLLIST' referenced from T:\FWH7\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARLGET' referenced from T:\FWH7\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARSLEN' referenced from T:\FWH7\LIB\FIVEH.LIB|HARBOUR

Thank you in advance for your assistance.

Don Lowenstein
www.laapc.com