[lazarus] mysql.pp
Rainer Hamann
rainer at hamann-kiel.de
Wed Dec 18 15:36:29 EST 2002
stdcall crashed my application when leaving the procedure which connected to
mysql, because there was a wrong return address on the stack.
> Actually, I think stdcall works if you are running Delphi compatible
> mode. However cdecl is the better way to go...
>
> On Wed, 2002-12-18 at 13:28, Rainer Hamann wrote:
> > for Linux in mysql.pp and in mysql_com.pp "stdcall" must by replaced by
> > "cdecl" or "{$ifdef LINUX} cdecl {$else} stdcall {$endif}".
> >
> > Which variable is set by Lazarus when selecting a Linux or a Windows
> > application?
> >
> > Rainer Hamann
> >
> > _________________________________________________________________
> > To unsubscribe: mail lazarus-request at miraclec.com with
> > "unsubscribe" as the Subject
> > archives at http://www.lazarus.freepascal.org/mailarchives
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
More information about the Lazarus
mailing list