Passing Connection handle from Powerbuilder to a C DLL using OCI calls

From: Siva <sivakesana_at_hotmail.com>
Date: 25 Jan 2002 13:15:54 -0800
Message-ID: <980f8d73.0201251315.6dfb8e1f_at_posting.google.com>


Hi,

I am using ODBC connection in my PowerBuilder7.0 application and trying to pass the Transaction Object, DBHandle(SQLCA) to a function in my C dll as an input parameter.

Ex: ret = getStatus(DBHAndle(SQLCA))

In my C DLL codes, I want to use this input parameter as the connection to my oracle 9i database, and then I will use some OCI functions and do some data processing on the database.

My question is, how can I do it? I didn't find any function in OCI that can accept a PowerBuilder ODBC handle and set that as the connection handle, can anyone help?

Thanks

Siva Received on Fri Jan 25 2002 - 22:15:54 CET

Original text of this message