I would like to know if there are any open source components available for Delphi XE-2 that can connect to postgreSQL other than using outdated techniques like ODBC.
For now just Win32 support is needed, but if Win64 and OS-X support is also available that would be a bonus.
I googled around a bit, but the only lib that’s available (ZEOS) looks like it is no longer in active development.
There does seem to be a patch for Delphi XE2 but I could not get it to compile.
Turns out you can get ZEOS to work on Delphi XE2 and as far as I’ve tested all DB functionality works.
Here are the steps to follow:
https://zeoslib.svn.sourceforge.net/svnroot/zeoslib/branches/testing
zeosfolder in the appropriate place, I’m assumingc:\borlandC:\borland\zeos\packages\delphi16\ZComponent.dpkin wordpad and remove the trailing{$IFDEF}(remember to keep the;in place).c:\borland\zeos\packages\delphi16\ZeosDbo.groupproj.build allc:\borland\zeos\packages\delphi16\buildin explorer, copy all.bplfiles and copy those toc:\borland\delphixe2\binComponent -> install packages->[add...]and choosec:\borland\delphixe2\bin\ZComponentDesign.bplas a SVN client I’ve downloaded SVN-tortoise from: http://tortoisesvn.net/downloads.html
Combined with both the SVN plug-ins for Firefox