[fpc-pascal]DBase data files support.

Mirek Novak mirek.novak at centrum.cz
Fri Jan 19 08:56:20 CET 2001


Michael.VanCanneyt at wisa.be píše:

[...]

>
> We're getting waaayyy to little feedback on the FCL and DB
> components. This means
> 1) They're faultless :-) or
> 2) They're not being used :/
>
> Michael.

Hi,
<SURPRISED>
   Michael, I've sent you MySQL units for 3.22  version at least *9*
months ago, I'm using them and they works for me fine, they _ARE_
working under win32! So, why  are you still distributing old version
MySQL client libraries (3.21,  I think,  - they become unsuported by
TCX, and there is no way to get a working client dll for win32 - but
this all I've written (and sent together with source) to you twice :o))
).
</SURPRISED>

<SMILING>
So I think that, at least for MySQL/win32 package, it is not case 1) as
you 've written.
</SMILING>

<SERIOUS>
The only problem in those libs is that you are using linux style call
cdecl  - under win it *must* be stdcall... - can be solved using macro
like
  <CODE>
     {$MACRO ON}
     {$IFDEF win32}
         {$DEFINE __call := stdcall}
      {$ELSE}
         {$DEFINE __call := cdecl}
      {$ENDIF}
    .
    .
    .
    procedure mysql_..... (parameter);__call;
  </CODE>
</SERIOUS>

M. N.









More information about the fpc-pascal mailing list