Subject | AW: [IBO] C++ with IBObjects and Interbase UDF's |
---|---|
Author | Thomas Steinmaurer |
Post date | 2001-02-02T23:20:56Z |
1) Put your DLL into the Interbase\UDF directory!
2) Drop your UDF with "DROP EXTERNAL FUNCTION APP_IMAGE"
3) Recreate your external function with something like that:
DECLARE EXTERNAL FUNCTION APP_IMAGE
INTEGER, INTEGER, INTEGER, INTEGER, INTEGER, INTEGER,
INTEGER, INTEGER
RETURNS INTEGER BY VALUE
ENTRY_POINT 'UpdateImageFile' MODULE_NAME 'SalonDll.dll';
You don't need the full path!
Thomas
2) Drop your UDF with "DROP EXTERNAL FUNCTION APP_IMAGE"
3) Recreate your external function with something like that:
DECLARE EXTERNAL FUNCTION APP_IMAGE
INTEGER, INTEGER, INTEGER, INTEGER, INTEGER, INTEGER,
INTEGER, INTEGER
RETURNS INTEGER BY VALUE
ENTRY_POINT 'UpdateImageFile' MODULE_NAME 'SalonDll.dll';
You don't need the full path!
Thomas
> -----Ursprungliche Nachricht-----
> Von: Chris Hulsey [mailto:chulsey@...]
> Gesendet: Samstag, 03. Februar 2001 00:15
> An: IBObjects@yahoogroups.com
> Betreff: Re: [IBO] C++ with IBObjects and Interbase UDF's
>
>
> Thanks for your quick response Thomas.
>
> I am currently using Interbase 6.0.1 and have located my dll file in the
> following directories with no success:
>
> C:\WINDOWS
> C:\PROGRAM FILES\BORLAND\INTERBASE\BIN
> C:\PROGRAM FILES\BORLAND\INTERBASE\LIB
> C:\PROGRAM FILES\BORLAND\INTERBASE\UDF
>
> AND EVEN WHERE THE ACTUAL *.GDB RESIDES
>
> I HAVE EVEN SPECIFIED THE FULL PATH IN THE UDF MODULE_NAME
> 'C:\WINDOWS\SALONDLL.DLL' FOR EXAMPLE
>
> I still don't have a clue on this one??
>
>
> Chris Hulsey
> Visible Changes, Inc.
> chris@...
>
>
>
>
>
>
>