ORA_FFI newbie question

From: BEtter5150 <better5150_at_aol.com>
Date: 1997/02/05
Message-ID: <19970205012800.UAA11593_at_ladder01.news.aol.com>#1/1


[Quoted] I built a VERY simple DLL using MS Visual C++ 4.0. It contains 2 functions. One simply returns 1 and the other Sleeps for a given amount of time.

[Quoted] I am trying to call the first function from within Forms 4.5 using the ORA_FFI built-in package. I followed the example code given in DLL.FMB for using foreign functions and that given in Ch. 6 of Procedure Builder Developer's Guide: Calling Functions in Dynamic Libraries.

For some reason, when I try to
[Quoted] ORA_FFI.LOAD_LIBRARY('c:\windows\system','mydll.dll') I get an unhandled exception ORA-304500. I can find no reference to this error code in the documentation. It won't even let me get to the next line of code where I check to see if the LOAD_LIBRARY function returned NULL.

[Quoted] Am I doing something wrong here?

[Quoted] Thanks for any help!

Barry Etter
[Quoted] Oracle Programmer/Analyst
Unifi, Inc. Received on Wed Feb 05 1997 - 00:00:00 CET

Original text of this message