First Delphi that can compile into 64 bit is XE2.
But, you have to select target 64 bit.
 
Also I was used for at least 5 years FreePascal 2.2 compiler to compile into
64 bits and this UDF working fine.
 
Best regards Slavek
Ing. Slavomir Skopalik
Executive Head
Elekt Labs s.r.o.
Collection and evaluation of data from machines and laboratories
by means of system MASA (http://www.elektlabs.cz/m2demo)
-----------------------------------------------------------------
Address:
Elekt Labs s.r.o.
Chaloupky 158
783 72 Velky Tynec
Czech Republic
---------------------------------------------------------------
Mobile: +420 724 207 851
icq:199 118 333
skype:skopaliks
e-mail:[email protected]
http://www.elektlabs.cz <http://www.elektlabs.cz/>  

 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Piotr Olszewski
Sent: Wednesday, December 05, 2012 10:30 AM
To: [email protected]
Subject: Re: [firebird-support] UDF 64 bits


  

Hi again...

One question about UDF on 64-bits Firebird server, do I need to recompile 
dll's with 64 - bits RAD?? or can I use compiled with 32 bits Delphi 2007

Piotr

Dnia 2012-12-05 00:56 Slavomir Skopalik napisa³(a):

>Hi, typical problem with "unable to load" is dependency on another dll.
>You can create small delphi x64 application and try to load this dll into
>this application.
> 
>And you will see.
> 
>Slavek
>Ing. Slavomir Skopalik
>Executive Head
>Elekt Labs s.r.o.
>Collection and evaluation of data from machines and laboratories
>by means of system MASA (http://www.elektlabs.cz/m2demo)
>----------------------------------------------------------
>Address:
>Elekt Labs s.r.o.
>Chaloupky 158
>783 72 Velky Tynec
>Czech Republic
>----------------------------------------------------------
>Mobile: +420 724 207 851
>icq:199 118 333
>skype:skopaliks
>e-mail:[email protected] <mailto:skopalik%40elektlabs.cz> 
>http://www.elektlabs.cz <http://www.elektlabs.cz/> 
>
> 
> 
>
>-----Original Message-----
>From: [email protected]
<mailto:firebird-support%40yahoogroups.com> 
>[mailto:[email protected]
<mailto:firebird-support%40yahoogroups.com> ] On Behalf Of Sergio H.
Gonzalez
>Sent: Tuesday, December 04, 2012 3:56 PM
>To: [email protected]
<mailto:firebird-support%40yahoogroups.com> 
>Subject: [firebird-support] UDF 64 bits
>
>
> 
>
>Hello... I think I've posted this question before, but now can't find 
>the thread... Anyway I still have the problem...
>
>An UDF that worked fine in FB 32 bits, in 64 bits doesn't work
>
>This is the DDL:
>
>DECLARE EXTERNAL FUNCTION SG_DES
>DOUBLE PRECISION,
>CSTRING(50)
>RETURNS DOUBLE PRECISION BY VALUE
>ENTRY_POINT 'Descuentos' MODULE_NAME 'SGUDF';
>
>SGUDF.DLL is in C:\Program Files\Firebird\Firebird_2_5\UDF
>
>I get this message whe I try to execute the function:
>
>can't format message 13:896 -- message file C:\Windows\firebird.msg not 
>found.
>invalid request BLR at offset 59.
>function SG_DES is not defined.
>module name or entrypoint could not be found.
>
>The DLL was rebuilded with Delphi XE2 for 64 bits...
>
>thanks! 
>
>
>
>[Non-text portions of this message have been removed]
>
>
>







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



------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Resources item
on the main (top) menu.  Try Knowledgebase and FAQ links !

Also search the knowledgebases at http://www.ibphoenix.com 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-support/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to