Subject | Re: my UDF shared libray can not be used in Vulcan |
---|---|
Author | heroes3lover |
Post date | 2007-08-28T06:20:49Z |
--- In firebird-support@yahoogroups.com, Dmitry Yemanov <dimitr@...>
wrote:
FREE_IT means free the memory of result, I saw the example of fb2.0,
they use it
prefix 'lib' is no need, but even I add the prefix, same result.
Regards,
Roc
wrote:
>parameter.
> heroes3lover wrote:
> >
> > DECLARE EXTERNAL FUNCTION SUBSTR
> > CSTRING(255) CHARACTER SET NONE, INTEGER, INTEGER
> > RETURNS CSTRING(255) CHARACTER SET NONE FREE_IT
>
> Why FREE_IT? You don't seem to allocate memory for the output
>Thanks for reply,
> > ENTRY_POINT 'SubStr' MODULE_NAME 'subs';
>
> As a dumb guess -- what about 'libsubs' as a module name?
>
>
> Dmitry
>
FREE_IT means free the memory of result, I saw the example of fb2.0,
they use it
prefix 'lib' is no need, but even I add the prefix, same result.
Regards,
Roc