Reputation: 1983
I saw this post about Delphi databases. I'm in a similar situation to the OP with years of occasional use of Delphi, but never using the database features. I have both Delphi 7 and Delphi 2010, but for this purpose, I'm using Delphi 7 to add database to an existing project.
I'm trying to use Zeos Lib for connection to PostgreSQL. I followed this procedure on the Zeos BB
That process worked without error, and now the Zeos components are installed and visible in the components palette.
When trying to build the Zeos Examples projects in Delphi, I get the following results:
ZBlobs - cannot build - Error "Field frmMain.cbxOidAsBlob does not have a corresponding component. Remove the declaration?"
ZControlsExample - cannot build - error: "Field frmMain.ZQueryZ does not have a corresponding component. Remove the declaration?"
DbcDemo - cannot build - error: "[Error] DbcDemoMain.pas(75): Undeclared identifier: 'TStringDynArray'"
ZDesignTime - cannot open project - Error: "Error reading Form: Error reading qrMain.RequestLive: Property RequestLive does not exist. Ignore the error and continue? NOTE: Ignoring the error may cause components to be deleted or property values to be lost."
Embedded - compiles, but exception on run: "Project Embedded.exe raised exception class Exception with message None of the dynamic libraries can be found or is not loadable: Iibmysqld4l .dll, Iibmysqld.dlI Use TZConnection.LibraryLocation if the location is invalid.. Process stopped. Use Step or Run to continue."
ZSimple - cannot build - error: "Field frmMain.ZQueryZ does not have a corresponding component. Remove the declaration?"
It appears that the installation is incomplete, but I'm not sure what's missing. I tried to post questions to the Zeos BBS, but it appears to be in hibernation - posts have been queued for moderator.
Upvotes: 0
Views: 1548
Reputation: 43033
You didn't install the design time packages, and probably have search path issue.
Please check how you setup the Zeos library and components.
Upvotes: 0