[fpc-pascal]dbExpress with fpc
Hi all, 1. I'm currently checking out dbExpress with Kylix. Is is compilable with fpc ? 2. Is there an IDL-to-objectpascal mapping somewhere ? cheers, -Krish ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]dbExpress with fpc
On Fri, 13 Feb 2004 [EMAIL PROTECTED] wrote: > Hi all, > > 1. I'm currently checking out dbExpress with Kylix. Is is compilable with fpc ? No. That is, FPC has no dbExpress components. > > 2. Is there an IDL-to-objectpascal mapping somewhere ? Not yet. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]dbExpress with fpc
> > > On Fri, 13 Feb 2004 [EMAIL PROTECTED] wrote: > > > Hi all, > > > > 1. I'm currently checking out dbExpress with Kylix. Is is compilable with fpc ? > > No. That is, FPC has no dbExpress components. Looks like dbExpress is written in C/C++ . > > > > > 2. Is there an IDL-to-objectpascal mapping somewhere ? > > Not yet. FPC supports both COM and CORBA interfaces - right ? cheers, -Krish ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]dbExpress with fpc
> > No. That is, FPC has no dbExpress components. > Looks like dbExpress is written in C/C++ . IIRC dbExpress is sort of based on Midas. I doubt that dbExpress is legally available for free use. I think you at least need a license for a Pro+ version of Delphi and thet covers you for deployment. None of the TDataSet stuff was included in the Personal version last time I looked. Infact D7 Personal IDE will not let you load the Pro+ dataset packages. I know, I looked into that as a matter of personal discovery ;-) > > Not yet. > FPC supports both COM and CORBA interfaces - right ? I wouldn't have thought so. Delphi does it via compiler magic. Matt ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]dbExpress with fpc
> > > No. That is, FPC has no dbExpress components. > > Looks like dbExpress is written in C/C++ . > > IIRC dbExpress is sort of based on Midas. I doubt that dbExpress is legally > available for free use. I think you at least need a license for a Pro+ > version of Delphi and thet covers you for deployment. None of the TDataSet > stuff was included in the Personal version last time I looked. Infact D7 > Personal IDE will not let you load the Pro+ dataset packages. I know, I > looked into that as a matter of personal discovery ;-) hmm. I see dbExpress as a set of interfaces - thats it. I think you are free to implement them. btw, TDataSet is not part of dbExpress. I also looked at Qt's database classes and I see a strong resemblance to dbExpress's (including class and method names !) > > FPC supports both COM and CORBA interfaces - right ? > > I wouldn't have thought so. Delphi does it via compiler magic. I think fpk told me so on #fpc . cheers, -Krish ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]dbExpress with fpc
On Fri, 13 Feb 2004 [EMAIL PROTECTED] wrote: > > > > > > > No. That is, FPC has no dbExpress components. > > > Looks like dbExpress is written in C/C++ . > > > > IIRC dbExpress is sort of based on Midas. I doubt that dbExpress is legally > > available for free use. I think you at least need a license for a Pro+ > > version of Delphi and thet covers you for deployment. None of the TDataSet > > stuff was included in the Personal version last time I looked. Infact D7 > > Personal IDE will not let you load the Pro+ dataset packages. I know, I > > looked into that as a matter of personal discovery ;-) > hmm. I see dbExpress as a set of interfaces - thats it. > I think you are free to implement them. This is correct. You must implement a library which exposes this interface. > btw, TDataSet is not part of dbExpress. No. It's part of the VCL. It's available in FPC as well. dbExpress has 2 parts: - A VCL part - a TDataset Descendendent. - A driver, which exposes a strictly defined interface. The driver can be written in any language. > > I also looked at Qt's database classes and I see a strong resemblance to dbExpress's > (including class and method names !) I suspect that this is because Borland and Troll Tech cooperated on this matter, and I would not be surprised if Troll Tech used Borland's design :-) > > > > > FPC supports both COM and CORBA interfaces - right ? > > > > I wouldn't have thought so. Delphi does it via compiler magic. > I think fpk told me so on #fpc . An interface is a construct independent of COM or CORBA. It's just a set of methods. Delphi does allow you to use COM methods transparantly via interfaces. In principle, the same should be true for FPC. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]dbExpress with fpc
> An interface is a construct independent of COM or CORBA. It's just a set > of methods. Delphi does allow you to use COM methods transparantly via > interfaces. In principle, the same should be true for FPC. > ok. now I recollect. COM interfaces have 3 additional methods (from IUnknown). Classes implementing CORBA style interfaces do not have to implement those three (AddRef, RemoveRef (?), QueryInterface) cheers, -Krish ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]dbExpress with fpc
> hmm. I see dbExpress as a set of interfaces - thats it. I think you are free to implement them. btw, TDataSet is not part of dbExpress. > > I also looked at Qt's database classes and I see a strong resemblance to dbExpress's (including class and method names !) Yes, the underlying database access, but to make it usefull you'd either need to reimplement the pascal interface or port the Delphi classes that access dbExpress. That was my thought anyway. IIRC you would need the source code for MidasLib too. Matt ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal]Libglade and fpc
Helllo all: I'm just starting to extend some examples about fpc, Gtk, MySql and Firebird. Like the samples I'm writing all the code to create the windows and widgets. It's possible to implement Libglade in fpc? Anyone has do it? Thanks in advance. Eduardo Lopez ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal]RE: Libglade and fpc
> It's possible to implement Libglade in fpc? Anyone has do it? 1.0: http://site.voila.fr/yvesd/downloads.htm 2.0: http://sourceforge.net/projects/gtk2forpascal __ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal