Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Calling function in external DLL
I have a DLL written in C++ and I want to call a function in that DLL from
PL/SQL.
The fuction in the DLL is declared as:
extern "C"
{
void PASCAL EXPORT MyFunction()
{
.
.
.
{
}
My Oracle package body is:
PACKAGE BODY TEST IS PROCEDURE CallMyFunction IS
ERROR at line 1:
ORA-06521: PL/SQL: Error mapping function ORA-06522: Unable to load symbol from DLL ORA-06512: at "MASTER.TEST", line 0 ORA-06512: at line 1
It finds the DLL OK but is having a problem with the function. Am I missing something obvious?
Thanks for any help.
Mark
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Mon Jun 22 1998 - 11:52:20 CDT
![]() |
![]() |