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 -> Need help calling an external function

Need help calling an external function

From: <Markjo_at_my-dejanews.com>
Date: Mon, 29 Jun 1998 14:40:33 GMT
Message-ID: <6n8911$5k4$1@nnrp1.dejanews.com>


I need to call a function in a DLL from within a stored Proc. I can call the fuction from a Sybase stored proc but am having problems calling it from an Oracle stored proc. The following is my procedure:

PACKAGE BODY        MY_UTILS IS
  PROCEDURE        CALL_MY_EXTERNAL_FUNCTION IS
    external library Master.MY_LIB name MyFunction ;

END; And this is what I get when I call it:

ERROR at line 1:

ORA-06521: PL/SQL: Error mapping function
ORA-06522: Unable to load symbol from DLL
ORA-06512: at "MASTER.MY_UTILS", line 0
ORA-06512: at line 1

It finds the DLL OK but has a problem caling the function.

Any help is greatly appreciated!

Mark

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Mon Jun 29 1998 - 09:40:33 CDT

Original text of this message

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