Hi *,

Can somebody think of a way to detect whether fbclient supports 
isc_dpb_utf8_filename? For example when calling isc_create_database in .NET 
provider with "Embedded" I need to know whether I can use UTF8 in database 
path. 

On Windows I can check version of the DLL and when version >= 2.5 I can assume 
I'm safe (What happens when I connect using 2.5 to older database?). But on 
Linux, etc. the binary has no such version info in header. Bummer.

I can also tell everybody that < 2.5 is not supported and happily use 
isc_dpb_utf8_filename (OK, maybe also I need to care about 
isc_spb_utf8_filename.), but that's lame.

For isc_database_info I don't have handle.

I'm kind of missing op_connect phase to get the selected protocol version. :)

-- 
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/


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

Reply via email to