[fpc-pascal]sockets and mysql problems with fpc on Windows 95

Michael Van Canneyt michael.vancanneyt at wisa.be
Thu Aug 23 09:42:08 CEST 2001

On Thu, 23 Aug 2001, Mirek Novak wrote:

> Hi,
> I can say only something to your MySQL problem - there can be 2 reasons (IMHO)
>  - incompatible (defferent) versions of libmysql.dll and your mysql.pas

This could be a possible cause. What client library version is being used ?

>  - wrong function calling convention in mysql.pas
> for the 1st problem check yourself whether you have correct versions of client lib / pascal
> interface
> the 2nd problem - on win32 platform functions must be declared as stdcall instead of cdecl on
> linux platform

The latest mysql versions have the correct calling conventions, which is why I
proposed to use the latest sources.


More information about the fpc-pascal mailing list