简体   繁体   中英

Direct connection to Firebird with IBDac/UniDac from Android using Delphi

I'm trying to connect to a REMOTE Firebird Database from Android using Delphi and IBDac. It says that cannot find libfbclient.so.3.0.2 library. I put it in the deploy to all library paths and nothing. If I remove the library it doesn't connect neither. The android version is 7.0. Thanks in advance.

my solution:

in delphi (deploying): add file libfbclient.so.3.0.2

remote-path: assets\\internal

in delphi (program):

no entry in IBCConnection ClientLibrary

source code:

IBCConnection1.Server:= *server-ip or name*;
IBCConnection1.ClientLibrary:= TPath.Combine(TPath.GetDocumentsPath, 'libfbclient.so.3.0.2');
IBCConnection1.DataBase:= *datebase name*;
IBCConnection1.Connect;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM