Subject Re: UDF not working in Firebird 32bit on Windows 7 x64
Author Rafael
Hi,

I have the same problem with UDF in Windows 7, Have you solved it.

Thanks in advanced,

Rafael Liriano

--- In firebird-support@yahoogroups.com, truesaint <truesaint@...> wrote:
>
> Hello everyone,
>
> Background information:
> - Windows 7 x64
> - Firebird 2.1.1 x86(32bit)
> UDFAccess is left as default
> - RFunc UDF (rfunc.dll)
> placed in C:\program files (x86)\firebird\firebird_2_1\UDF
>
> Whenever we reference RFunc UDFs, it shows the following error message:
> ...
> Invalid token.
> invalid request BLR at offset 2039.
> function EXTRACTDAY is not defined.
> module name or entrypoint could not be found.
> ...
>
> From inside IBExpert, the UDFs are shown to be registered correctly.
> ...
> DECLARE EXTERNAL FUNCTION EXTRACTDAY
> TIMESTAMP
> RETURNS INTEGER BY VALUE
> ENTRY_POINT 'fn_day' MODULE_NAME 'rfunc';
> ...
>
> Tried and installed the "Microsoft Visual C++ 2008 Redistributable
> (x86)" , with the same result.
>
> The exact same database can be accessed in Windows XP without problems.
> Please help.
>
> Thank you very much in advance,
> t.s.
>