Subject Re: my UDF shared libray can not be used in Vulcan
Author heroes3lover
--- In firebird-support@yahoogroups.com, Dmitry Yemanov <dimitr@...>
wrote:
>
> 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
parameter.
>
> > ENTRY_POINT 'SubStr' MODULE_NAME 'subs';
>
> As a dumb guess -- what about 'libsubs' as a module name?
>
>
> Dmitry
>

Thanks for reply,
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