I'm trying to migrate some forms from 6i to 11g and I'm replacing ORA_FFI commands by WEBUTIL_C_API commands to call C functions but when I'm calling to WEBUTIL_C_API.Invoke_Int the form inmediately close. Well... all forms close except the browser.
Looking for the problem, I notice that if I change my C function header, it works. For example, the header of my C function is like this:
If you have access to MyOracleSupport, refer to the folliowing note which explains your issue:
<blockquote>(Doc ID 285331.1)JVM Crash / Exception When Calling PASCAL style Function Via WebUTIL_C_API in Forms </blockquote>