WebUtil_C_API..Invoke_Int Not Working ( Urgent ) [message #206177] |
Wed, 29 November 2006 01:18 |
anil_mk
Messages: 146 Registered: August 2006 Location: Bangalore, India
|
Senior Member |
|
|
Hi,
Every Buddy
Version->Forms 10g + WebUtil Installed + Windows
I need to interface with C from oracle forms by using .DLL file which will call C functions in 10g.
For 10g i tried old methods which were in Forms 6i by using ORA_FFI.load_library but these functions did not work.
Then i gone through Webutil_C_API where it is able to register WEBUTIL_C_API.register_function, then WEBUTIL_C_API.add_parameter
but when it come to invoke "C" function by using WEBUTIL_C_API.Invoke_Int, it is going to struck here only.
Here i tried the example which is in below address
http://www.oracle.com/technology/products/forms/htdocs/webutil/howto_ffi.html(i.e.http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil_c_api_test.zip)
I downloaded the MODULE1.fmb which has two buttons C/S FFI, WEB FFI,when clicked on button C/S FFI its working fine which internally call the ORA_FFI functions, but when i click WEB FFI it create the parameter, add argument & then @ the time of invoking Webutil_C_API.Invoke_Int strucking.
So plz if any one know the solution, let me know as early as possible.
|
|
|
|
|
|
|
|
|
|