Hi André, > I have now my first changes in the skeleton (from CVS > Database/DriverSkeleton/) and I wanted to try it in my OpenOffice. But I > can't select it if I start OpenOffice and open a new database. > I think I forgot to implement something. ;-) > > Does I need to hook my driver into a factoryManager or something like this?
I suppose you deployed it as UNO package? - Ensure that the DataAccess.xcu is part of the package, and has proper content (for the definition of "proper", you can probably spy at existing driver packages which work :), e.g. the PostgreSQL driver) - Ensure that the driver library is compatible with the version into which you deployed it. I am not sure whether the package manager would detect a fault here. On windows, try "depends <your_library_name>", on Linux, IIRC, "ldd <your_library_name>" (you probbaly know this better than me :) - If this doesn't work ... hmm. Debug into dbaccess/source/ui/misc/dsntypes.cxx, in particular initUserDriverTypes, and see whether your driver is listed there. If not, your DataAccess.xcu is wrong. If yes, debug the callers to see why your type is ignored later. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Database http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
