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 -> Re: Writing Oracle APIs

Re: Writing Oracle APIs

From: Jim Smith <jim_at_jimsmith.demon.co.uk>
Date: 1997/01/26
Message-ID: <GSKlgaAen06yEwB8@jimsmith.demon.co.uk>#1/1

In article <32E916CC.6B3A_at_mediadata.com.sg>, Mars <mars_at_mediadata.com.sg> writes
>Hi,
>
>I need help writing Oracle APIs to be called by a C program. The API
>will be in a shared library and called by my C program.
>
>The problem is that my C program will be running as a daemon and will
>have no Oracle environment settings such as ORACLE_HOME. Is this
>possible?
>

Are you talking about Unix here?

Any background process should inherit the environment of the process which started it.

If you are starting your daemon at boot up time you need to run it from a shell script which sets up the necessary environment before running your program

-- 
Jim Smith
Received on Sun Jan 26 1997 - 00:00:00 CST

Original text of this message

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