Re: Forms error

From: Mark <markg_at_mymail.co.uk>
Date: 13 May 2002 04:44:19 -0700
Message-ID: <ddb31653.0205130344.7d545a76_at_posting.google.com>


Havent got any personal knowledge on DLLs. However, bear in mind that DLL definitions may change between Oracle versions, hence the error message.

The following is from Metalink, hope it helps. You need to find the 'real' error message which is causing the problem, a 304500 is generic.

Problem Solution


  There are many reasons why a call to ORA_FFI.LOAD_LIBRARY   may fail with an ORA-304500 error.

  If, after reviewing your code and checking the path, you are   still unable to resolve the problem, check to see if your   function calls any other external functions.

  If your function references other user-written functions that   are not included in the shared library, the load may fail with   an ORA-304500 exception.

  Including all referenced functions in your shared library   should resolve the problem.



The ORA-304500 is a generic Procedure Builder exception raised by the ORA_FFI package. It occurs when the Procedure Builder pushes several error
messages regarding the problem onto the Procedure Builder's Error Stack. To
read the messages that Procedure Builder pushes onto its Error Stack, you must
trap the exception and print each message off the stack until all messages are
gone. The errors on the Error Stack tell you exactly what is going wrong.
Some simple mistakes include calling the DLL by the wrong name or incorrectly
ordering the arguments passed to the ORA_FFI register functions.    

noelp1_at_hotmail.com (Noel P) wrote in message news:<530e4840.0205121926.556ba3c1_at_posting.google.com>...
> Could any Forms expert help me on this please?
>
> I migrated some of the old Forms to Forms version 6. I am getting an
> error like this now:
>
> FRM-40735: Unhandled exception ORA-304500.
>
> I get this on a line like this:
>
> n = PK_WINDOWS_DLL.GetPrivateString(...)
>
> Any ideas?
>
> Your help is very much appreciated.
>
> Thanks
>
> Noel
Received on Mon May 13 2002 - 13:44:19 CEST

Original text of this message