Re: [Firebird-devel] Crypt key callback on Embedded

2017-08-28 Thread Jiří Činčura
> Try this with example - you should get meaningful diags about missing > key. But pay attention - that's diags from crypt plugin, i.e. it depends > upon plugin how to react to missing callback (which means missing key > provided by current client). BTW, in some usage schemas callback is not >

Re: [Firebird-devel] Crypt key callback on Embedded

2017-08-28 Thread Alex via Firebird-devel
On 28.08.2017 17:47, Jiří Činčura wrote: Ahh - agreed, the reason why lib failed to load is missing in diags. Bad luck for me. The Callback.dll is actually loaded fine (at least from OS perspective): 16:41:38,1377272ConsoleApp1.exe 7240Load Image C:\Users\Jiri\Documents\devel\NETP

Re: [Firebird-devel] Crypt key callback on Embedded

2017-08-28 Thread Jiří Činčura
There's nothing after this. No further attempts to load anything. Just exception from Firebird and then my application closes from application side of things. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ On Mon, Aug 28, 2017, at 16:51, Dimitry Sibiryakov wrote: > 28.08.2017 16:47, Jiří Č

Re: [Firebird-devel] Crypt key callback on Embedded

2017-08-28 Thread Jiří Činčura
> Ahh - agreed, the reason why lib failed to load is missing in diags. Bad luck for me. The Callback.dll is actually loaded fine (at least from OS perspective): 16:41:38,1377272ConsoleApp1.exe 7240Load Image C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\ConsoleA

Re: [Firebird-devel] Crypt key callback on Embedded

2017-08-28 Thread Alex via Firebird-devel
On 28.08.2017 17:18, Jiří Činčura wrote: Jiri, please take a look at the sample provided with FB3 - it works with both embedded & remote. I'm looking at that. But I don't know why the loading is failing (while the same setup work in server mode). It would be nice to have bit more verbosity, ma

Re: [Firebird-devel] Crypt key callback on Embedded

2017-08-28 Thread Jiří Činčura
>Which file? fbclient.dll -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-

Re: [Firebird-devel] Crypt key callback on Embedded

2017-08-28 Thread Jiří Činčura
> Jiri, please take a look at the sample provided with FB3 - it works with > both embedded & remote. I'm looking at that. But I don't know why the loading is failing (while the same setup work in server mode). It would be nice to have bit more verbosity, maybe in log (but there's nothing). BTW i

Re: [Firebird-devel] Crypt key callback on Embedded

2017-08-28 Thread Alex via Firebird-devel
On 28.08.2017 16:52, Jiří Činčura wrote: Hi *, how's the crypt key callback expected to work on Embedded? So far I haven't done anything to the .NET code, but when I try to connect to an encrypted database I get: Error loading plugin Callback Module \plugins/Callback exists but can not be loaded

Re: [Firebird-devel] Crypt key callback on Embedded

2017-08-28 Thread Jiří Činčura
>Most likely bitness of plugin DLL doesn't match bitness of fbclient. Both 64bit. In fact I'm using same "installation" for server and there it works fine. Callback.dll: File Version Information: File Version: 1.0.0.1 Product Version: 1.0.0.1 File Type: