Re: ORA_FFI newbie question

From: Peter de Goederen <goederen_at_worldonline.nl>
Date: 1997/02/19
Message-ID: <01bc1ea4$e4a63960$5483099a_at_goederen>#1/1


BEtter5150 <better5150_at_aol.com> wrote in article <19970205012800.UAA11593_at_ladder01.news.aol.com>...
> 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.
>
> 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
> ORA_FFI.LOAD_LIBRARY('c:\windows\system','mydll.dll')
it is a very small error you've made; add an slash to the path-name!

> 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.
>
> Am I doing something wrong here?
>
> Thanks for any help!
>
>
> Barry Etter
> Oracle Programmer/Analyst
> Unifi, Inc.
>
>
>
Received on Wed Feb 19 1997 - 00:00:00 CET

Original text of this message