Page 13 of 14

Re: New AdoRDD (free)

PostPosted: Tue Oct 20, 2009 12:13 pm
by Antonio Linares
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 :-)

Re: New AdoRDD (free)

PostPosted: Tue Oct 20, 2009 4:14 pm
by mbelgrano
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 :-)

Re: New AdoRDD (free)

PostPosted: Tue Oct 20, 2009 6:15 pm
by Antonio Linares
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.

Re: New AdoRDD (free)

PostPosted: Tue Jan 26, 2010 11:57 pm
by don lowenstein
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.

Re: New AdoRDD (free)

PostPosted: Wed Jan 27, 2010 1:08 am
by Antonio Linares
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

Re: New AdoRDD (free)

PostPosted: Wed Jan 27, 2010 6:11 pm
by don lowenstein
Thank you Antonio - that seemed to work for my testing.

Re: New AdoRDD (free)

PostPosted: Thu Feb 04, 2010 7:29 pm
by don lowenstein
is the adordd availble for xharb10?

Re: New AdoRDD (free)

PostPosted: Fri Feb 05, 2010 7:09 am
by Antonio Linares

Re: New AdoRDD (free)

PostPosted: Fri Feb 05, 2010 8:37 pm
by don lowenstein
Thank you Antonio

Re: New AdoRDD (free)

PostPosted: Fri Feb 05, 2010 10:25 pm
by don lowenstein
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.

Re: New AdoRDD (free)

PostPosted: Sat Feb 06, 2010 7:02 pm
by Antonio Linares
Don,

Please add this line to the beginning of the PRG:
Code: Select all  Expand view

#define HB_SYMBOL_UNUSED( symbol )  ( symbol := ( symbol ) )
 

Re: New AdoRDD (free)

PostPosted: Sun Feb 07, 2010 7:09 pm
by don lowenstein
Thanks Antonio - that seemed to work :D

Re: New AdoRDD (free)

PostPosted: Mon Feb 08, 2010 7:15 pm
by don lowenstein
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?

Re: New AdoRDD (free)

PostPosted: Tue Feb 09, 2010 12:55 am
by Antonio Linares
Don,

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

Re: New AdoRDD (free)

PostPosted: Tue Feb 09, 2010 3:56 pm
by don lowenstein
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.