Connect to Advantage Database
Re: Connect to Advantage Database
I'm not able.
The package is not available in this ubuntu release.
I not install it . So i don't link in build.sh -
I don't need to print .
Bye
The package is not available in this ubuntu release.
I not install it . So i don't link in build.sh -
I don't need to print .
Bye
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Connect to Advantage Database
Giuliano,
Ok, fixed.
I am emailing you Harbour and FiveLinux working fine for your Ubuntu distro
Ok, fixed.
I am emailing you Harbour and FiveLinux working fine for your Ubuntu distro
- Massimo Linossi
- Posts: 474
- Joined: Mon Oct 17, 2005 10:38 am
- Location: Italy
Re: Connect to Advantage Database
Hello Antonio.
I'm having the same problems of Giuliano.
Can you send me the libraries and Harbour ?
Thanks a lot.
Massimo
P.S. the libgnomeprintui is impossible to install
I'm having the same problems of Giuliano.
Can you send me the libraries and Harbour ?
Thanks a lot.
Massimo
P.S. the libgnomeprintui is impossible to install
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Connect to Advantage Database
Massimo,
Already sent
Please remember that they are for Ubuntu 32 bits
I have not been able to install libgnomeprintui
No idea why apt-get can't get it
Already sent
Please remember that they are for Ubuntu 32 bits
I have not been able to install libgnomeprintui
No idea why apt-get can't get it
- Massimo Linossi
- Posts: 474
- Joined: Mon Oct 17, 2005 10:38 am
- Location: Italy
Re: Connect to Advantage Database
Thank you Antonio.
Installed and the tutor01 is compiling and working perfectly.
You're great, as usual.
Have a nice evening.
Massimo
Installed and the tutor01 is compiling and working perfectly.
You're great, as usual.
Have a nice evening.
Massimo
Re: Connect to Advantage Database
Good morning,
i confirm. Now harbour and FLH works !!!!!
Thank you Antonio.
Have a nice day
i confirm. Now harbour and FLH works !!!!!
Thank you Antonio.
Have a nice day
- Massimo Linossi
- Posts: 474
- Joined: Mon Oct 17, 2005 10:38 am
- Location: Italy
Re: Connect to Advantage Database
Good morning.
I need to build a little test to connect to an Advantage Database Server.
In windows there is an rddads.lib and Ace32.lib to link. Is there a place where to find them ?
Thanks a lot.
Massimo
I need to build a little test to connect to an Advantage Database Server.
In windows there is an rddads.lib and Ace32.lib to link. Is there a place where to find them ?
Thanks a lot.
Massimo
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Connect to Advantage Database
Massimo,
good morning,
do you mean for Windows or for Linux ?
good morning,
do you mean for Windows or for Linux ?
- Massimo Linossi
- Posts: 474
- Joined: Mon Oct 17, 2005 10:38 am
- Location: Italy
Re: Connect to Advantage Database
Hi Antonio.
For Linux.
For Linux.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Connect to Advantage Database
Massimo,
I guess that the first step is to try to build Harbour rddads on Linux
Not sure if the rddads makefile works on Linux, so we need to try it
Also I think it may be a good idea to ask Reinaldo for advice
I guess that the first step is to try to build Harbour rddads on Linux
Not sure if the rddads makefile works on Linux, so we need to try it
Also I think it may be a good idea to ask Reinaldo for advice
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Connect to Advantage Database
Email already sent to Reinaldo
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
Re: Connect to Advantage Database
Hello Massimo/everyone on this forum!
My preferred ADS server is a Linux Server. It is what I install at most of my clients sites and it is what I use for development and testing. However, I have no idea how to create a Linux application, much less a Linux ADS Client app. All my applications are FWH native Win32 apps that connect to either a Linux or a Windows ADS server.
To build a client Linux application I suspect that -as far as ADS RDDs is concern- all you have to do is include the source .c files in your compile script. That is adsfunc.c, ads1.c, ace32.c. Then make sure you have the appropriate ADS shared objects installed on the target client (Linux) workstation. It should be that simple.
You -all- probably already know that Sybase ADS may run as a windows service or as Linux daemon. Also, the client may be linked to a windows app via .dll or to a Linux app using the shared object (libace.so). This means that our FWH apps may be a native Windows app or a Linux app and our server may be a Linux server or a Windows server and any combination of these.
To build a Linux client app I understand you will need either the remote server or the local server shared objects. The Advantage Client Engine (ACE) and the Advantage Local Server (ALS) are distributed as Linux shared objects. Although not identical, shared objects are very similar to Windows DLLs. The default installation directory for the Advantage libraries is the /usr/lib directory. All Advantage clients link directly to the shared object that matches the version (ex: libace.so.10.0.20). The only shared object you need to distribute with your client app is libace.so.X.Y.Z for client-server (remote server) or libadsloc.so.X.Y.Z for the local server.
I wish I could be of more help on this subject but my experience building native linux apps is very limited. Provided I can find the time and budged the money to acquire FWH for Linux, I will engage on building a FWH Linux application one day.
Please keep us informed on your findings.
Best regards,
Reinaldo.
My preferred ADS server is a Linux Server. It is what I install at most of my clients sites and it is what I use for development and testing. However, I have no idea how to create a Linux application, much less a Linux ADS Client app. All my applications are FWH native Win32 apps that connect to either a Linux or a Windows ADS server.
To build a client Linux application I suspect that -as far as ADS RDDs is concern- all you have to do is include the source .c files in your compile script. That is adsfunc.c, ads1.c, ace32.c. Then make sure you have the appropriate ADS shared objects installed on the target client (Linux) workstation. It should be that simple.
You -all- probably already know that Sybase ADS may run as a windows service or as Linux daemon. Also, the client may be linked to a windows app via .dll or to a Linux app using the shared object (libace.so). This means that our FWH apps may be a native Windows app or a Linux app and our server may be a Linux server or a Windows server and any combination of these.
To build a Linux client app I understand you will need either the remote server or the local server shared objects. The Advantage Client Engine (ACE) and the Advantage Local Server (ALS) are distributed as Linux shared objects. Although not identical, shared objects are very similar to Windows DLLs. The default installation directory for the Advantage libraries is the /usr/lib directory. All Advantage clients link directly to the shared object that matches the version (ex: libace.so.10.0.20). The only shared object you need to distribute with your client app is libace.so.X.Y.Z for client-server (remote server) or libadsloc.so.X.Y.Z for the local server.
I wish I could be of more help on this subject but my experience building native linux apps is very limited. Provided I can find the time and budged the money to acquire FWH for Linux, I will engage on building a FWH Linux application one day.
Please keep us informed on your findings.
Best regards,
Reinaldo.
- Massimo Linossi
- Posts: 474
- Joined: Mon Oct 17, 2005 10:38 am
- Location: Italy
Re: Connect to Advantage Database
Hello Reinaldo.
Where can I find those c sources ?
Thanks a lot.
Massimo
Where can I find those c sources ?
Thanks a lot.
Massimo
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
Re: Connect to Advantage Database
They should be part of the compiler's source distribution and usually found on \xharbour\contrib\rdd_ads\ directory.
Hope that helps.
Hope that helps.
- Massimo Linossi
- Posts: 474
- Joined: Mon Oct 17, 2005 10:38 am
- Location: Italy
Re: Connect to Advantage Database
Thanks Reinaldo.
Maybe Antonio can help me with these files for Harbour and Linux.
Maybe Antonio can help me with these files for Harbour and Linux.