> 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,1377272 ConsoleApp1.exe 7240 Load Image C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\ConsoleApp1\bin\Debug\fb\plugins\Callback.dll SUCCESS Image Base: 0x6d080000, Image Size: 0x2c000 Not sure what happened then in Firebird. Maybe the Callback.dll isn't happy because I haven't provided any callback? > May be you need fb_database_crypt_callback() call? > Second parameter (void*) is actually a pointer to callback interface. That's my problem. I don't think I can marshal the callback interface (I can marshal simple pointer to a function), because I can't create such interface in C#, obviously. :( -- 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-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel