My DB have a lot of procedures that uses functions from rfunc.dll, but when I try to uses ODBC Driver connection on C# the UDF functions doesn’t load
Here how I’m doing the connection
public OdbcConnection Conecta(string serverName, string databaseName, string userName, string password, string DriverName)
{
string connectionString = $"User={userName};Password={password};Database={databaseName};DataSource={serverName};Driver={DriverName};";
// Criar a conexão
OdbcConnection connection = new OdbcConnection(connectionString);
try
{
// Abrir a conexão
connection.Open();
// A conexão foi aberta com sucesso, você pode executar consultas aqui
return connection;
}
catch (Exception ex)
{
// Tratar exceção, se necessário
Console.WriteLine("Erro ao conectar-se ao banco de dados: " + ex.Message);
//Console.Beep();
return null;
}
}
OdbcConnection FBconnection = new Database().Conecta("127.0.0.1:3050", "My\Database\path\.fdb", "SYSDBA", "masterkey", "Firebird/InterBase(r) driver");
Its all working but the rfunc functions is not working, if someone have any idea?
Firebird 3.0
Firebird ODBC 2.0.5
New contributor
Gabriel Jappe Lorenzeti is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.