Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> OCIServerAttach

OCIServerAttach

From: Will Kallander <wkallander_at_geocities.com>
Date: Thu, 2 Sep 1999 14:02:25 -0700
Message-ID: <37cee4ac_6@news5.newsfeeds.com>


Anybody know what "connectString" is supposed to be in the statement below?

OCIServerAttach(srvhp, errhp, (text *) connectString, (sb4) strlen((char *)connectString), 0);

I know I can NULL in out in order to connect locally, <<OCIServerAttach(srvhp, errhp, NULL, 0, 0)>> but I need connection remotely. I saw somewhere in the docs that it incorporates information from the tnsnames.ora file, but I tried that and it did not work. Anyone out there have any examples from which I can see the proper format?

Thanks,
--Will

  -----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------    http://www.newsfeeds.com The Largest Usenet Servers in the World! ------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==----- Received on Thu Sep 02 1999 - 16:02:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US