Re: [fpc-pascal] Compile library with Linux

2007-02-18 Thread Michel Meunier
Florian Klaempfl a écrit : Michel Meunier schrieb: Florian Klaempfl a écrit : Michel Meunier schrieb: Hello, My library under Windows is now OK, it use an UDP socket with the Synapse units (wonderful job). Now I want to compile it under Linux. The compilation is OK, but when I try to use the

Re: [fpc-pascal] Compile library with Linux

2007-02-18 Thread Michel Meunier
Florian Klaempfl a écrit : Michel Meunier schrieb: Hello, My library under Windows is now OK, it use an UDP socket with the Synapse units (wonderful job). Now I want to compile it under Linux. The compilation is OK, but when I try to use the .so library, I get this message: This binary has no

Re: [fpc-pascal] Compile library with Linux

2007-02-18 Thread Michel Meunier
Florian Klaempfl a écrit : Michel Meunier schrieb: Hello, My library under Windows is now OK, it use an UDP socket with the Synapse units (wonderful job). Now I want to compile it under Linux. The compilation is OK, but when I try to use the .so library, I get this message: This binary has no

[fpc-pascal] Compile library with Linux

2007-02-18 Thread Michel Meunier
with a thread-driver in the program uses clause before other units using thread. Runtime error 232 at $B6A4418B I use a thread inside the code to survey the UDP socket, it's work very well with Windows, but do you know where is the problem with Linux? Best Regards Michel Me

Re: [fpc-pascal] Windows-->Linux library

2007-02-14 Thread Michel Meunier
Leducq Dominique a écrit : Le Mercredi 14 Février 2007 09:19, Michel Meunier a écrit : Hello, With your help, my initial library .dll writen with Delphi, is now working at about 95% when compiled with fpc. Now my goal is to get a .so library under Linux. So I have begun to compile it under

[fpc-pascal] Windows-->Linux library

2007-02-14 Thread Michel Meunier
ot an important problem, the main problem is my unhability to compile my library. Best regards -- Michel Meunier Web: www.etoiles-a-bleau.fr ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] How to get UTC time

2007-02-13 Thread Michel Meunier
Hello, I work on a program wich need the UTC time, and this program will run with Windows and Linux. So how is it possible to calculate the UTC time under these two OS. For example, the Now function with Windows, give me local time. Best regards -- Michel Meunier Web: www.etoiles-a-bleau.fr

Re: [fpc-pascal] dll with windows impossible???

2007-01-25 Thread Michel Meunier
fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Michel Meunier Web: www.etoiles-a-bleau.fr ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepas

Re: [fpc-pascal] dll with windows impossible???

2007-01-25 Thread Michel Meunier
Michael Van Canneyt a écrit : On Wed, 24 Jan 2007, Michel Meunier wrote: Michael Van Canneyt a écrit : On Wed, 24 Jan 2007, Michel Meunier wrote: [cut code] xxx and IT DOESN'T WORK, why? It is exactly the same

Re: [fpc-pascal] dll with windows impossible???

2007-01-24 Thread Michel Meunier
Michael Van Canneyt a écrit : On Wed, 24 Jan 2007, Michel Meunier wrote: [cut code] xxx 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 unab

Re: [fpc-pascal] dll with windows impossible???

2007-01-24 Thread Michel Meunier
Felipe Monteiro de Carvalho a écrit : Another relevant question: on which directory and how did you install lazarus/fpc? d:\lazarus, without any space Installing on directories with spaces can have nasty effects on the gnu tools. -- Michel Meunier www.etoiles-a-bleau.fr

Re: [fpc-pascal] dll with windows impossible???

2007-01-24 Thread Michel Meunier
l.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Michel Meunier www.etoiles-a-bleau.fr ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] dll with windows impossible???

2007-01-24 Thread Michel Meunier
the obvious. Is the DLL on the same folder as the executable? yes of course How are you executing the application? inside Lazarus, and also outside Lazarus Best regards -- Michel Meunier www.etoiles-a-bleau.fr ___ fpc-pascal maillist - fpc-pascal

[fpc-pascal] dll with windows impossible???

2007-01-24 Thread Michel Meunier
essage('OK'); end; initialization {$I testdllwin.lrs} end. xxx 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. Th

Re: [fpc-pascal] Becoming crazy with dll

2007-01-23 Thread Michel Meunier
The error message with loadlibrary is: external: SIGSEGV thanks -- Michel Meunier Web: www.etoiles-a-bleau.fr ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Becoming crazy with dll

2007-01-23 Thread Michel Meunier
I hope, I haven't made an error to get such messages! -- Michel Meunier Web: www.etoiles-a-bleau.fr ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Becoming crazy with dll

2007-01-23 Thread Michel Meunier
xxx Thanks a loy for your help, I am becoming crazy with that! -- Michel Meunier Web: www.etoiles-a-bleau.fr ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal