FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Thu Dec 15, 2011 08:40 PM
When I try to compile the RDDADS with xHarbour 1.2.1 (Rev 9411) and 10.0 m ADS with the following error message:


Warning W8075 ads1.c 2698: Suspicious pointer conversion in function adsCreate
Warning W8075 ads1.c 3007: Suspicious pointer conversion in function adsOpen
Error E2024 ads1.c 3058: Cannot modify a const object in function adsOpen
Warning W8075 ads1.c 3652: Suspicious pointer conversion in function adsOrderCreate
Warning W8075 ads1.c 4663: Suspicious pointer conversion
Error E2451 ads1.c 4680: Undefined symbol 'DBENTRYP_VP'
Error E2141 ads1.c 4680: Declaration syntax error
Error E2190 ads1.c 4743: Unexpected }
*** 4 errors in Compile ***


Anyone can help me ?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Fri Dec 16, 2011 01:51 AM

Hi Vilian,

I use ADS version 10.10.0.18 with this RDDADS.LIB + Harbour 3.1 + Fwh 11.07 , run well and extremely very very fast ( client server).

give me your email , I will send you the RDDADS.LIB , But I don't know it can run on xHarbour.

regards,

Kok

Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Fri Dec 16, 2011 05:10 AM

Hi!

I have exactly the same problem..

Seems nobody cared... :(

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Fri Dec 16, 2011 11:05 AM

Kok,

My email is vilian@vfatec.com.br. I do not know if the generated lib with the harbor will work with xHarbour. But I will test

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Sun Dec 18, 2011 04:51 AM

Dear Vilian,

please see your email,I have send it.

BR

kok

Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Tue Dec 20, 2011 12:09 AM

Hi!

Can you post here the .lib

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Posts: 302
Joined: Fri Apr 23, 2010 04:30 AM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Wed Dec 21, 2011 02:15 PM

Thanks,

Do you have ADS libraries compiled for MVC 2010 and harbour 3.1

Regards,

Nicanor Martinez M.
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
Posts: 392
Joined: Tue Mar 10, 2009 11:54 AM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Wed Dec 21, 2011 03:40 PM
Windows 11 Pro 22H2 22621.1848

Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Harbour 3.2.0dev (r2008190002)

FWH 23.10 x86
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Thu Dec 22, 2011 02:04 AM
Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Thu Dec 22, 2011 03:29 AM

Hi Fraxzi,

I don't know, but in habour it run very well.

regards,

kok

Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Thu Jan 05, 2012 01:07 AM
I'm sorry I didn't see this thread before. Is there still a problem trying to build rdddads.lib?

Starting with version 1.2 or so of the xharb compiler, the Harbour project developers have put a new system in place to automatically (and very simply) get everything setup in order to build rddads.lib as well as ads32.lib for the same ADS version. It requires acesdk for the specific ADS version. Acesdk is installed from aceapi.exe which can be downloaded from the advantage devzone.

Once acesdk has beeen installed, set the environmental variable HB_DIR_ADS to the directory that contains the SDK files. As in:

Code (fw): Select all Collapse
c:\xharbour\contrib\rddads>set HB_DIR_ADS=c:\ads8\acesdk


Now execute the batch file for the C compiler being used with your application and the newly created rddads.lib as well ace32.lib will be created in c:\xharbour\lib.

It's that simple. If you are looking to build the .libs for older versions of the compiler, then reply to this thread and I will show you how to do it for any other version.

ADS is the best SQL fit for xharbour + fwh. There is no doubt about it.

Reinaldo.
Posts: 670
Joined: Wed Oct 19, 2005 06:41 PM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Thu Jan 05, 2012 04:43 AM

Reinaldo Good night
can you please show me how can i buils rddads for
7.1 ads server version for Harbour 3.1 ?

Thanks in advance

Wilson 'W' Gamboa A
Wilson.josenet@gmail.com
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Fri Jan 06, 2012 05:18 AM
reinaldocrespo wrote:I'm sorry I didn't see this thread before. Is there still a problem trying to build rdddads.lib?

Starting with version 1.2 or so of the xharb compiler, the Harbour project developers have put a new system in place to automatically (and very simply) get everything setup in order to build rddads.lib as well as ads32.lib for the same ADS version. It requires acesdk for the specific ADS version. Acesdk is installed from aceapi.exe which can be downloaded from the advantage devzone.

Once acesdk has beeen installed, set the environmental variable HB_DIR_ADS to the directory that contains the SDK files. As in:

Code (fw): Select all Collapse
c:\xharbour\contrib\rddads>set HB_DIR_ADS=c:\ads8\acesdk


Now execute the batch file for the C compiler being used with your application and the newly created rddads.lib as well ace32.lib will be created in c:\xharbour\lib.

It's that simple. If you are looking to build the .libs for older versions of the compiler, then reply to this thread and I will show you how to do it for any other version.

ADS is the best SQL fit for xharbour + fwh. There is no doubt about it.

Reinaldo.



Hello Reinaldo,

I did
Code (fw): Select all Collapse
set HB_DIR_ADS=C:\ads91\acesdk


but the error still there.. this is unmodified RDD_ADS Contrib from xHarbour.org


Error E2024 ads1.c 3058: Cannot modify a const object in function adsOpen
Warning W8075 ads1.c 4663: Suspicious pointer conversion
Warning W8075 ads1.c 4678: Suspicious pointer conversion
Error E2451 ads1.c 4680: Undefined symbol 'DBENTRYP_VP'
Error E2141 ads1.c 4680: Declaration syntax error
Error E2190 ads1.c 4743: Unexpected }
*** 4 errors in Compile ***
Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Posted: Fri Jan 06, 2012 06:48 PM

Frances;

I've made many changes to my .c files, so I'm not sure if I ever had those errors or they were introduced on later versions of the contrib libs. Here is a link to my ads1.c and adsfunc.c as I compile to produce rddads.lib without any errors using bcc.

http://ssfl.dynalias.com/temp_files/adsfunc.zip

Hope that helps,

Reinaldo.