Subject Re: [ib-support] DLLS, UDFs, and Firebird
Author Nikhil G. Daddikar
have you tried the dllexport option for your functions in the C source. E.g.

__declspec(dllexport) int myudf(int*a, int*b)
{
...

}

----- Original Message -----
From: "Martijn Tonies" <m.tonies@...>
To: <ib-support@yahoogroups.com>
Sent: Tuesday, October 08, 2002 12:04 PM
Subject: Re: [ib-support] DLLS, UDFs, and Firebird


: Sean,
:
: Since when it this required? This makes the declaration platform sensitive
: and
: shouldn't be needed as far as I know.
:
:
: > Jonathan,
: >
: > > DECLARE EXTERNAL FUNCTION ROUNDER
: > > INTEGER, DOUBLE PRECISION
: > > RETURNS DOUBLE PRECISION BY VALUE
: > > ENTRY_POINT 'Rounder' MODULE_NAME 'MyUDF'
: >
: > Try
: >
: > DECLARE EXTERNAL FUNCTION ROUNDER
: > INTEGER, DOUBLE PRECISION
: > RETURNS DOUBLE PRECISION BY VALUE
: > ENTRY_POINT 'Rounder' MODULE_NAME 'MyUDF.dll' <- note the '.dll'
: >
: > Sean
:
:
: With regards,
:
: Martijn Tonies
: InterBase Workbench - the developer tool for InterBase
: http://www.upscene.com
:
: Firebird Workbench - the developer tool for Firebird
: http://www.upscene.com
:
: Upscene Productions
: http://www.upscene.com
:
: "This is an object-oriented system.
: If we change anything, the users object."
:
:
:
: ------------------------ Yahoo! Groups Sponsor ---------------------~-->
: 4 DVDs Free +s&p Join Now
: http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/67folB/TM
: ---------------------------------------------------------------------~->
:
: To unsubscribe from this group, send an email to:
: ib-support-unsubscribe@egroups.com
:
:
:
: Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
: