[fpc-pascal] dll with windows impossible???
Michel Meunier
michel.meunier100 at wanadoo.fr
Wed Jan 24 23:31:32 CET 2007
Michael Van Canneyt a écrit :
> On Wed, 24 Jan 2007, Michel Meunier wrote:
>
> [cut code]
>
>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> and IT DOESN'T WORK, why? It is exactly the same code!
>> More and more I think I am going to translate my code in C, because FPC seems
>> unable to manage properly dll library.
>>
>
> It has nothing to do with FPC.
>
> 1. Compile the DLL without debug info.
> (lazarus compiles it by default with debug info included. Disable that)
>
it's the case
> 2. ALWAYS specify the complete path to the DLL. Do NOT assume that
> the program is started with as the current directory the program
> directory. This is a common mistake.
>
>
Ok, I have tried, and the problem is the same :-(
> If you are still experiencing problems after that, mail me in private.
>
> Michael.
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
>
--
Michel Meunier
www.etoiles-a-bleau.fr
More information about the fpc-pascal
mailing list