Unable to load a dll in form builder [message #471268] |
Fri, 13 August 2010 02:14 |
maha_om
Messages: 2 Registered: August 2010 Location: India
|
Junior Member |
|
|
Hi all,
I have attached webutil_lib.pll in the formbuilder. And i have called register_function call of webutil to register a function.
But its showing the following error:
FRM-40735: when button pressed trigger raised unhandled exception ORA-06508
Here is the code:
declare
StringBuffer varchar2(255) := 'An initial value that will be overwritten';
StringLength pls_integer := length(StringBuffer);
rc pls_integer;
f_handle WEBUTIL_C_API.FUNCTIONHANDLE;
args Webutil_c_api.parameterlist;
param1 Webutil_c_api.ParameterHandle;
param2 Webutil_c_api.ParameterHandle;
begin
message('Before Calling the C program the value of the string is:"'||
StringBuffer||'" with a length of '||to_char(StringLength));
message('hi');
f_handle := WEBUTIL_C_API.register_function('test.dll','display');
Please tell me how to resolve it?
Thanks,
|
|
|