Hi Michael,
Michael Strobel escribió:
Hi,
I try to develop a SDBC driver for Ingres and OOo
Could you give me some advice how to manage this problem, please? Do I need to compile the whole OOo source code, besides using the OOo SDK or should I try something totally different?
sure Frank will answer giving the exact insight.
I can only tell you there are two different ways if you want to develop
in OOo with C++ (unfortunately not very clearly separated in
http://wiki.services.openoffice.org/wiki/Main_Page#Getting_started_with_OOo_development)
a) you can use only OOo API to extend OOo with "independent" UNO
components, for this you only need the SDK build environment; you don't
need to read a line of OOo source code (you *may*, if you want; but you
can also be only a "client" of the API - even the C++ API of the URE
libraries) [NOTE: by "independent" I mean you can *only* link against
URE libraries]
b) you can hack (horrible word/perspective)/develop in the core OOo
source code. For this you need the OOo build environment (the one used
to build OOo from the source code, NOT the SDK build environment)
In the connectivity module you will find a how-to:
connectivity/workben/skeleton/how_to_write_a_driver.txt
The only C++ external UNO driver component I know is the PostgreSQL SDBC
driver, but this component is not a "true independent extension", as it
is (AFAIK) build linking against the connectivity module libraries.
And by reading Stephan Bergmann's mails (for example in
http://extensions.openoffice.org/servlets/ReadMsg?list=dev&msgNo=1324),
a driver developed/build this way *may* be broken in the 3-layer OOo.
Questions to Frank:
* do you have any idea if external drivers linking against connectivity
libs. will break in the 3-layer OOo?
* is it possible to develop a really independent C++ UNO driver
component (as an extension), i.e. using only OOo UNO API and linking
only to the URE libraries (that is, not using any code form the
connectivity module at all)?
I guess it must be possible (if not, a UNO driver component in oder
language than C++, let's say Python, Java, will be impossible).
Regards
Ariel.
--
Ariel Constenla-Haile
La Plata, Argentina
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.ArielConstenlaHaile.com.ar/ooo/
"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]