1.
Code:
DECLARE EXTERNAL FUNCTION DODAJ
CSTRING(255),
INTEGER,
CHAR(1),
CHAR(1)
RETURNS CSTRING(255)
ENTRY_POINT 'Dodaj' MODULE_NAME 'ZFireBirdUDF.dll';
2. Provjeri da li su ti udf-ovi ukljuceni u firebirdu
To pogledas u fajli
firebird.conf kajo ti je u folderu di je instaliran firebird
Code:
# ----------------------------
# External Function (UDF) Paths/Directories
#
# UdfAccess may be None, Full or Restrict. If you choose
# Restrict, provide ';'-separated trees list, where UDF libraries
# are stored. Relative paths are treated relative to RootDirectory entry
# (see above). Default value 'Restrict UDF' provides the same restrictions
# as in FB 1.0. To specify access to specific trees, enum all required
# paths (for Win32 this may be something like 'C:\ExternalFunctions',
# for unix - '/db/extern;/mnt/extern').
#
# NOTE: THE EXTERNAL FUNCTION ENGINE FEATURE COULD BE USED TO COMPROMISE
# THE SERVER/HOST AS WELL AS DATABASE SECURITY!!
#
# IT IS STRONGLY RECOMMENDED THAT THIS SETTING BE USED TO LIMIT
# EXTERNAL FUNCTION LOCATIONS!
#
# Type: string (special format)
#
UdfAccess = Restrict UDF
4. Kopiraj .dll u folder UDF (u folderu di je instaliran firebird)
I to ti je to
Sve to radis na server di se nalazi baza
Ako ne radio odmah, samo restartaj server.