Re: DBI-Users> RE: DBD-Oracle - obtaining OCI handles from $dbh

2011-10-28 Thread Tim Bunce
; > > > > > > > >functions to take care of you C++ calls; > > > > > > > > > >A quick example > > > > > > > > > >void > > > > >ora_some_c_call(dbh) > > > > > SV *dbh > > > > >

RE: DBI-Users> RE: DBD-Oracle - obtaining OCI handles from $dbh

2011-10-27 Thread John Scoles
Glad we can help. Keep us informed on how it works out cheers John > Date: Thu, 27 Oct 2011 14:39:15 -0400 > From: bro...@deseret.com > To: byter...@hotmail.com > CC: martin.ev...@easysoft.com; dbi-users@perl.org > Subject: Re: DBI-Users> RE: DBD-Oracle - obtaining OCI

Re: DBI-Users> RE: DBD-Oracle - obtaining OCI handles from $dbh

2011-10-27 Thread Lyle Brooks
gt; > > > CODE: > > > > MYSomeC_Plus_Plus_method(dbh->envhp,dbh->svchp,dbh->seshp,dbh->srvhp); > > > > > > > > > > > He does not need to do this surely. So long as the C++ code and > > > DBD::Oracle XS is running in the sa

RE: DBI-Users> RE: DBD-Oracle - obtaining OCI handles from $dbh

2011-10-27 Thread John Scoles
> Date: Thu, 27 Oct 2011 18:42:23 +0100 > From: martin.ev...@easysoft.com > To: dbi-users@perl.org > Subject: Re: DBI-Users> RE: DBD-Oracle - obtaining OCI handles from $dbh > > On 27/10/2011 17:43, John Scoles wrote: > > Hmm!! > > > > Well y

Re: DBI-Users> RE: DBD-Oracle - obtaining OCI handles from $dbh

2011-10-27 Thread Martin J. Evans
t;I have created some Perl bindings for some existing custom C++ libraries." Martin -- Martin J. Evans Easysoft Limited http://www.easysoft.com Hope this helps Cheers John Date: Thu, 27 Oct 2011 09:48:54 -0400 From: bro...@deseret.com To: byter...@hotmail.com CC: dbi-users@perl.org Subjec

RE: DBI-Users> RE: DBD-Oracle - obtaining OCI handles from $dbh

2011-10-27 Thread John Scoles
er to fire your function. Hope this helps Cheers John > Date: Thu, 27 Oct 2011 09:48:54 -0400 > From: bro...@deseret.com > To: byter...@hotmail.com > CC: dbi-users@perl.org > Subject: Re: DBI-Users> RE: DBD-Oracle - obtaining OCI handles from $dbh > > Yes, I assumed I

Re: DBI-Users> RE: DBD-Oracle - obtaining OCI handles from $dbh

2011-10-27 Thread Lyle Brooks
Yes, I assumed I would need to extend DBD::Oracle is some manner to allow those handles to be extracted from a $dbh object. The specific OCI handles that the C++ libraries use are - Environment handle - Service Context handle - Session handle - Server handle My initial thought process on how it