Lazarus 1.2.2 + TSQLDBLibraryLoader + Firebird 2.5.2 lazarus / 16-Databases ---------------------------------------------------------------------- Wild Pointer · 2014-06-04 10:58 If Firebird server is not installed in the system, the TSQLDBLibraryLoader not working at runtime. Although the server Firebird in fact up and running. For example in IBExpert, if you tell the library (fbclient.dll), then no problem. lazarus-1.2.2-fpc-2.6.2-win64.exe - installed. Firebird-2.5.2.26540-0_Win32 - unpacked and launched with the command "fbguard.exe -a". Lazarus x64 specified library fbclient.dll x64. Sorry for my English. Google + https://plus.google.com/101588398026555450594/posts/izD5SQcAHAz _________________ In Russian: Если сервер Firebird не установлен в системе, то компонент TSQLDBLibraryLoader не работает в runtime. Хотя сервер Firebird по факту запущен и работает. Например в IBExpert, если указываешь библиотеку (fbclient.dll), то нет проблем. lazarus-1.2.2-fpc-2.6.2-win64.exe - установлен. Firebird-2.5.2.26540-0_Win32 - распакован и запущен командой "fbguard.exe -a". Для Lazarus x64 указана библиотека fbclient.dll x64. ____________ Google + https://plus.google.com/101588398026555450594/posts/8ZQWWErXnTz ---------------------------------------------------------------------- BigChimp · 2014-06-04 11:21 I don't understand why you're facing problems. It should just work. Have you put fbclient as well as all required dlls in your program directory (for run time use) and project directory (for design time use) as specified in http://wiki.lazarus.freepascal.org/firebird#Clien t.2Fserver_and_embedded_installation Or have you got the fbclient.dll and all required libraries in your windows\system32 directory (yes, this is the correct directory for 64 bit dlls....) Using fbclient.dll, there should not be any need for tsqldblibraryloader at all... By the way, creating 64 bit executables with FPC 2.6.x is strongly discouraged; using it with the Firebird libraries may give improper exceptions. See e.g. http://wiki.lazarus.freepascal.org/Windows_Programming_Tips#F PC_2.6.x.2FLazarus_warning_.28Missing_support_for_SEH.29 Recommendation: use the 32 bit Lazarus IDE. ---------------------------------------------------------------------- BigChimp · 2014-06-04 11:24 By the way, the TSQLDBLibraryLoader error message is strange. It obviously loaded some library and you are trying to do something that is not allowed - changing the connection type?!?! Are you sure you are running tsqldblibraryloader before loading the tibconnection as specified in the documentation? http://wiki.lazarus.freepascal.org/SQLDBLibraryLoader Are you sure you are specifying the correct ConnectionType? ---------------------------------------------------------------------- Wild Pointer · 2014-06-05 05:33 Quote from: BigChimp on June 04, 2014, 01:21:27 pmRecommendation: use the 32 bit Lazarus IDE. New: lazarus-1.2.2-fpc-2.6.4-win32.exe - installed. Firebird-2.5.2.26540-0_Win32 - unpacked (not installed & not embedded) and launched with the command "fbguard.exe -a". Everything is working!