Hi André,

> I did it. But I have bad news...
> He jumps into a valid IF-block and there are correct variables for my 
> driver.

well, that's good, in some sense, as it means we can exclude the package
structure as reason for the problem :)

> Are you sure that I don't missed some functions in my driver?

No, how could I be sure about this? :)

The next step which I could imagine to fail is in
dbaccess/source/ui/dlg/generalpage.cxx. Look for getDriverByURL. The
list in the dialog is assembled from all known database types, where
each type has an associated URL pattern (sdbc:*). If no driver feels
responsible for a certain pattern, the respective type is omitted in the
list. So, the dialog calls a getDriverByURL at the DriverManager, and if
no driver is returned, it skips the type. The DriverManager itself asks
all known drivers for the give URL pattern, by calling
XDriver::acceptsURL. Is this method in your driver properly implemented,
i.e. does it return sal_True if the given URL matches your pattern? Is
it called when the dialog is opened? If not, is your driver actually
instantiated?

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]

Reply via email to