Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IB 6 and Delphi 5 EReadError 'Property does not exist'

Status
Not open for further replies.

Ronin441

Programmer
Feb 22, 2002
128
AU
I've installed Interbase 6 on my PC (it describes itself as WI-V6.0.1.0). I started getting error messages when I start up Delphi, about not being able to find entry points in, um, DCLIB50, I think. So I got some Interbase packages from Borland's web site, and compiled 'em, and installed the design time one, and those errors went away.

Then I created a simple test app with an IBDatabase, an IBTransaction, an IBDataset, a Datasource, and a DBGrid. It compiles, but when I run it, it gets to

Code:
  Application.CreateForm(TForm1, Form1);

, and falls over with:

Code:
Project IBTest.exe raised exception class EReadError with message 'Property does not exist'

and

Code:
Project IBTest.exe raised exception class EReadError with message 'Error reading IBTransaction1.AutoStopAction: Property does not exist'

Deleting the IBTransaction object from the form does indeed allow the app to run; but without the IBTransaction it of course does nothing.

I suspect that I've simply got some version dissonance, and I'm hoping that someone can point me to the magic package(s) to install to fix my problem. I'm willing to upgrade or change my local Interbase installation in any way, but the distributed version of my app must play nice with an Interbase 6 server.

-- Doug Burbidge mailto:dougburbidge@yahoo.com
 
Did you save those forms with a newer version of IBX and are you now downgrading?


Martijn Tonies
Database Workbench - the developer tool for InterBase and Firebird
 
Nope; I installed Interbase 6; then I installed VCLIB50.dpk and DCLIB50.dpk thta I got from Borland's web site, then I built the test app in Delphi 5 Pro Update Pack 1 from scratch, by reading along with So I started the test app with nothing but the default blank-form template that Delphi opens with.

Should I be getting a Firebird download instead of the packages from Borland?

-- Doug Burbidge mailto:dougburbidge@yahoo.com
 
Search your hard-driver for ibxpress*.bpl and DCLIB*.bpl and make sure there's only 1 version per file.

Open up all your forms of your project - save them and try again. This sounds like a property streaming error or version conflict, nothing InterBase related.


Martijn Tonies
Database Workbench - the developer tool for InterBase and Firebird
 
Hm, I see what you're saying.

Only one DCLIB*.bpl: DCLIB50.bpr in $(DELPHI)\bin; the one I built just a couple of days ago.
No ibex*.gpr; closest is ibevnt50.bpl, dated January 2000.


-- Doug Burbidge mailto:dougburbidge@yahoo.com
 
I noticed that if I set all the components Active to True, I got database records appearing in my DBGrid, right there at design time. But still no run. This, then, continued to reinforce the it's-a-streaming-problem concept.

So I messed around for a bit, getting nowhere, and eventually reinstalled Delphi. This has caused everything to become happy-happy: recreating said test app from scratch now works fine.

-- Doug Burbidge mailto:dougburbidge@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top