Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-01

DBase data files support.

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi,

The FCL has now support for DBase files. I've ported an existing component (tDBF, by Pascal Ganaye, ) and it
now works with Free Pascal as well. The source is in CVS, and should appear in the source zips tomorrow.

It should support Dbase III, IV and V.
It should work on Dos, Win32, Linux, FreeBSD and OS/2 as well (though I'm not sure the last one supports the FCL 100% ?)

Please feel free to test it and report bugs (if any...).

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.

Reply by email

Mirek Novak
to Unknown author: The FCL has now support for DBase files. I've ported an existing component (tDBF, by…

píše:

[...]

Show quoted text 7 lines
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.

Reply by email

Michael Van Canneyt
to Mirek Novak: píše: [...] <SURPRISED> Michael, I've sent you MySQL units for 3.22 version at least…
Mirek Novak wrote 22 lines
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))

There is a new version out for some time now which works with 3.22 and maybe higher. That I didn't use your version is because - at that time- it was easier for me to change my version than to verify someone elses version.

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

I was talking about the *FCL*.
About the packages I get regular feedback (e.g. from you :) ), t his is definitely so, and I didn't say anything about that :)

Show quoted text 13 lines
</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}

Changing cdecl to stdcall will also do it, since I think 'stdcall' equals 'cdecl' on Linux systems. I need to check that.

Anyway, about the calling convention: Is this so ? I have not tested much on Win32 (Linux mainly), but the tests I did seemed to work. I'll (again) have a look at this, certainly.

Michael.

Reply by email