Subject RE: [firebird-support] ROUND(ABS(-1.4)) returns NULL
Author Mahesh Ishwar
Thanx for ur prompt response Hayashi.
If I'm not wrong this module_name in the registration is the name of the dll from where these functions are being picked. I've installed Firebird 1.5 beta version. I got this 'ib_udf.dll' in my udf folder of installation. But I can't see 'fbudf.dll' in any of the bin, lib and udf folder. Does this file come with installation or these functions have to written urselves in C/C++.
Please make this clear.
Thanx once a'ain.

Meghansh

"Hayashi@..." <hayashi@...> wrote:
Hi Mahesh

ABS and ROUND and CEILING is UDF. These are needed to regist the
database bellow.

declare external function Round
int by descriptor, int by descriptor
returns parameter 2
entry_point 'round' module_name 'fbudf';

DECLARE EXTERNAL FUNCTION ceiling
DOUBLE PRECISION
RETURNS DOUBLE PRECISION BY VALUE
ENTRY_POINT 'IB_UDF_ceiling' MODULE_NAME 'ib_udf';

DECLARE EXTERNAL FUNCTION abs
DOUBLE PRECISION
RETURNS DOUBLE PRECISION BY VALUE
ENTRY_POINT 'IB_UDF_abs' MODULE_NAME 'ib_udf';


best

Tsutomu Hayashi in Japan
Mail : hayashi@...
Web : http://www.apex-jp.com/ (Japanese Only)
http://dmj.psnet.ne.jp/ (Delphi Magazine)




Yahoo! Groups SponsorADVERTISEMENT

To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





---------------------------------
Yahoo! Plus - For a better Internet experience


[Non-text portions of this message have been removed]