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

Michael Van Canneyt michael.vancanneyt at wisa.be
Thu Jan 25 11:53:07 CET 2007



On Thu, 25 Jan 2007, Michel Meunier wrote:

> 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]
> > > >   
> > > >       
> > > > > 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

As you discovered, it was not the case: -gl is also debug info.

This is a known problem, and is already in the bugtracker if I remember
correctly. 

Michael.


More information about the fpc-pascal mailing list