Subject Pass Connection to API DLL using UDF
Author Chris Hulsey

I have a question. How can I pass the current IB connection to a (UDF)user defined function from within a stored procedure. I would like to use the connection that is active while I am in my stored procedure rather than having to call the API function for connecting and disconnecting to the database from within my UDF that exists within my host language DLL that resides on the machine where Interbase Server is located. Since, I need a connection to call my stored procedure in the first place from my client machine can I get the connection handle from my client side and pass it to the stored procedure or should I grab the connection handle from within the Stored Procedure and pass along to my UDF.

Thank You. I would appreciate any assistance.

Chris Hulsey
Visible Changes, Inc.

[Non-text portions of this message have been removed]