how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby vilian » Thu Dec 15, 2011 8: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
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby kok joek hoa » Fri Dec 16, 2011 1: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
kok joek hoa
 
Posts: 117
Joined: Tue Jan 03, 2006 6:18 pm

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby fraxzi » Fri Dec 16, 2011 5: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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby vilian » 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
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby kok joek hoa » Sun Dec 18, 2011 4:51 am

Dear Vilian,

please see your email,I have send it.

BR

kok
kok joek hoa
 
Posts: 117
Joined: Tue Jan 03, 2006 6:18 pm

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby fraxzi » 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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines


Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby nnicanor » Wed Dec 21, 2011 2: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
nnicanor
 
Posts: 302
Joined: Fri Apr 23, 2010 4:30 am
Location: Colombia

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby frose » Wed Dec 21, 2011 3: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
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby fraxzi » Thu Dec 22, 2011 2: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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby kok joek hoa » Thu Dec 22, 2011 3:29 am

Hi Fraxzi,

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

regards,

kok
kok joek hoa
 
Posts: 117
Joined: Tue Jan 03, 2006 6:18 pm

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby reinaldocrespo » Thu Jan 05, 2012 1: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: Select all  Expand view

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.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby wilsongamboa » Thu Jan 05, 2012 4: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
User avatar
wilsongamboa
 
Posts: 593
Joined: Wed Oct 19, 2005 6:41 pm
Location: Quito - Ecuador

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby fraxzi » Fri Jan 06, 2012 5: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: Select all  Expand view

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: Select all  Expand view

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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411

Postby reinaldocrespo » Fri Jan 06, 2012 6: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.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 94 guests