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

Home -> Community -> Usenet -> c.d.o.server -> Oracle 8 External Procedure Questions

Oracle 8 External Procedure Questions

From: Mel Christie <mel_at_puregoodness.com>
Date: Tue, 18 Aug 1998 07:08:01 -0400
Message-ID: <01bdca98$40de6b80$7c7de8c3@mc-compaq>


I have some questions concerning using external procedures with Oracle. I am running Oracle 8 on a single Windows 95 machine and need to call a number of external procedures written in Delphi 3 from a SQL*Plus session...

  1. How do I load the DLL so that it stays resident for each DLL procedure? This is needed to preserve the status of the DLL rather than loading the DLL and freeing the DLL on each DLL procedure call.
  2. Do I run "LSNRTCL80.EXE start" to do this?
  3. My LISTENER.ORA file contains the lines LISTENER = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC) (KEY = ORCL) ) SID_LIST_LISTENER =
    (SID_DESC = (SID_NAME = extproc) (PROGRAM = extproc)
    ) Are these correct?
  4. My TNSNAMES.ORA file contains the lines: extproc_connection_data.world = (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC) (Key = ORCL) )
    (CONNECT_DATA = (SID = extproc)
    ) ) Is this correct?
  5. How does the ORA file entries relate to my actual library which is in "C:\MY DOCUMENTS\MYLIB.DLL"? Is there some other association I need?
  6. When I run a PL/SQL procedure which calls two DLL procedures the second DLL procedure does not remember the DLL status... Is there something I have forgotten to do here?

Please Help!

Mel Christie
--
Technical Director
Pure Goodness Services
http://www.puregoodness.com Received on Tue Aug 18 1998 - 06:08:01 CDT

Original text of this message

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