[lazarus] FreeCLX and Kylix news!
Michael Van Canneyt
michael at wisa.be
Tue Mar 20 16:38:51 EST 2001
On Tue, 20 Mar 2001, Jon Cochran wrote:
> On Tuesday March 20 2001 04:06 pm, Michael Van Canneyt wrote:
> > On Tue, 20 Mar 2001, Jon Cochran wrote:
> > > On Tuesday March 20 2001 03:42 pm, Michael Van Canneyt wrote:
> > > > On Tue, 20 Mar 2001, Jon Cochran wrote:
> > > > > On Tuesday March 20 2001 03:18 pm, Michael Van Canneyt wrote:
> > > > > > Another thing is that the CLX still contains some pretty basic
> > > > > > functionality failures, which I hope Borland will fix soon.
> > > > >
> > > > > Out of curiosity, what is CLX missing?
> > > >
> > > > Simply put: All needed libraries to make it useful.
> > > >
> > > > - No C wrapper library sources for Qt.
> > > > So forget about VisualCLX unless you own Kylix.
> > >
> > > Not gonna argue this one...
> > >
> > > > - No DBExpress, no Midas libraries. The useful database units that
> > > > are provided _NEED_ these libraries.
> >
> > You still will have clientdata set and whatnot...
> >
> > Of course, but they don't work without Midas. The clientdataset is just
> > a TDataset wrapper around the Midas lib. Without midas library, no
> > TClientdataset, no MyBase, nothing.
> >
> > What you HAVE is TDataset, and this is an abstract class, so it needs
> > descendents.
> >
> > The two usable descendents that come with Kylix, notably: TSQLDataset (and
> > some variations) and TClientDataset needs libraries that are not available.
> >
> > -> you end up without any DB support at all.
> >
>
> That's not true at all... MIDAS isn't required.....
You don't have to believe me, just check the sources.
TClientDataset does _NOT_ work without midas.
Have a look at the following (randomly selected) code snippet:
----------------------------------------------------
function TCustomClientDataSet.GetXMLData: string;
var
DataPacket: TDataPacket;
VarPacket: OleVariant;
begin
if Active then
begin
CheckBrowseMode;
FDSBase.SetProp(dspropXML_STREAMMODE, xmlON);
Check(FDSBase.StreamDS(DataPacket));
DataPacketToVariant(DataPacket, VarPacket);
Result := VariantArrayToString(VarPacket);
end;
end;
-----------------------------------------------------
FDSBase is a object (actually, an interface) that
resides in the midas library.
> and I do think you get the DB libs....
No, one doesn't.
I have the cources checked out, and no DBExpress sources, no midas sources,
no Qt wrapper library sources.
Unless they put them in another part of sourceforge of course,
in which case I will be more than happy to rest my case.
you just don't get the drivers for some things like
> Oracle. They're not part of CLX.
>
> > > really, other than DB drivers, which you *should* pay for, what else do
> > > you need?
> >
> > Well, the libraries to make it work. The driver is no good without the
> > dbexpress library. Which you don't get...
> >
> > And I hope you'll agree that paying for a Mysql driver when Mysql itself is
> > free would be strange :)
> >
> So would they, and I'm sure that's why it's free.
But why isn't it in CVS then ?
Michael.
More information about the Lazarus
mailing list