On 22/11/16 16:56, Alex Peshkoff wrote:
> On 11/22/16 16:42, Tony Whyman wrote:
>> I am trying to find a way of determining whether Engine12 is available
>> as a provider when using the FIrebird 3 API.
>>
>> Enumerating the list of Providers in firebird.conf tells you whether it
>> has been configured but because the list is interpreted permissively,
>> all this tells you is that it might be available and not will be available.
>>
>> IPluginManager.getPlugins looks hopeful, but calling
>>
>> getPlugins(status,TYPE_PROVIDER,"Engine12",null)
>>
>> returns a nil pointer, while
>>
>> getPlugins(status,TYPE_PROVIDER,"engine12",null)
>>
>> returns an IPluginSet with an empty getName and repeated calls to
>> IPluginSet.next get you nowhere but an unending loop.
>>
>> Any ideas?
> Do you have default for Providers in .conf files?
Yes. But as I understand it if the engine12 library file is not 
installed then even though I have the default list of providers, that 
doesn't matter as the missing engine12 is silently ignored.
>
>
> ------------------------------------------------------------------------------
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel


------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to