New AdoRDD (free)

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

Re: New AdoRDD (free)

Post 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 :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
mbelgrano
Posts: 52
Joined: Mon Oct 17, 2005 8:42 pm

Re: New AdoRDD (free)

Post 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 :-)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: New AdoRDD (free)

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: New AdoRDD (free)

Post 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.
Don Lowenstein
www.laapc.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: New AdoRDD (free)

Post 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. ... ib/rddado/
http://harbour-project.svn.sourceforge. ... ision=9359
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: New AdoRDD (free)

Post by don lowenstein »

Thank you Antonio - that seemed to work for my testing.
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: New AdoRDD (free)

Post by don lowenstein »

is the adordd availble for xharb10?
Don Lowenstein
www.laapc.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: New AdoRDD (free)

Post by Antonio Linares »

Don,

Yes. You can download it from:
http://xharbour.cvs.sourceforge.net/vie ... iew=markup
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: New AdoRDD (free)

Post by don lowenstein »

Thank you Antonio
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: New AdoRDD (free)

Post 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.
Don Lowenstein
www.laapc.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: New AdoRDD (free)

Post by Antonio Linares »

Don,

Please add this line to the beginning of the PRG:

Code: Select all

#define HB_SYMBOL_UNUSED( symbol )  ( symbol := ( symbol ) )
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: New AdoRDD (free)

Post by don lowenstein »

Thanks Antonio - that seemed to work :D
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: New AdoRDD (free)

Post 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?
Don Lowenstein
www.laapc.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: New AdoRDD (free)

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: New AdoRDD (free)

Post 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.
Don Lowenstein
www.laapc.com
Post Reply