[fpc-devel] DLL WIN64: Entry point not found

Mark - WBIsoft.COM mark at wbisoft.com
Wed Jul 18 12:17:32 CEST 2007


I think the calling convention be STDCALL ?

Mark



----- Original Message ----- 
From: "Luc Vigato, Sita Software" <l.vigato at sitasoftware.lu>
To: <fpc-devel at lists.freepascal.org>
Sent: Wednesday, July 18, 2007 10:43 AM
Subject: [fpc-devel] DLL WIN64: Entry point not found


> Hello,
>
> I have compiled a DLL under Win64. It's a UDF-library for Firbird 2.1.
> Under Linux 64bit all things are working, only in WIN64 not.
>
> The problem is that Firebird says that he cannot find the Entry Point of
> each of my functions.
> It's not a Firebird problem, i have made a test application who calls the
> function from the DLL and i have the same error "entry point not found".
>
> Calling convention is: cdecl
>
> Can someone help me please ?
>
> These is my command line to compile the library.
>
> fpc -S2 -Sh -dFREE_IT -Fu../Units SitaUdfLib.dpr
>
>
> Output of fpc
> -------------
> Free Pascal Compiler version 2.1.5 [2007/05/31] for x86_64
> Copyright (c) 1993-2007 by Florian Klaempfl
> Target OS: Win64 for x64
> Compiling SitaUdfLib.dpr
> Compiling UnitFonctionUdfString.pas
> Linking SitaUdfLib.dll
> 977 lines compiled, 0.5 sec, 635888 bytes code, 312064 bytes data
> 1 note(s) issued
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.10.8/906 - Release Date: 17/07/2007 
> 18:30
>
> 




More information about the fpc-devel mailing list