Whew, found it in the end. Doing the grep didn't help - it turned out to be some custom components that had changed over time and an event that used to be published got moved into just being public. Had to rebuild the dpk files to update the runtime packages which resulted in useful error messages to track down the offending units.

Interestingly enough, the project still built before I corrected the declarations - I would have thought that sort of thing would produce a compile time error, but apparently not! (Using Delphi 6)

Cheers,
Phil.

Todd Martin wrote:
Yes. Use "grep" on your *.pas and *.dfm files to search for
"OnSelectedChange".
When you find the form which contains "OnSelectChange" without a
corresponding method declaration in the source *.pas, you've found the
problem.


----- Original Message ----- 
From: "Phil Middlemiss" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[email protected]>
Sent: Tuesday, May 23, 2006 4:53 PM
Subject: [DUG] EReadError


  
I'm getting an exception "Project YourOldProjectThatYourUpdating.exe
raise exception class EReadError with message 'Property OnSelectedChange
does not exist'." which I assume means there is a form or component
trying to be streamed in that used to have that property but now doesn't.

I've tried opening all the forms I use in the editor but none of them
are complaining about this issue. Anyone have any suggestions how to
track this one down?

Cheers,
Phil.

    


----------------------------------------------------------------------------
----


  
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

    


----------------------------------------------------------------------------
----


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 22/05/2006



  
begin:vcard
fn:Phil Middlemiss
n:Middlemiss;Phil
org:Vision Software, MTS Ltd
email;internet:[EMAIL PROTECTED]
title:Project Leader
tel;work:+64 7 3480001
tel;cell:+64 27 4592648
x-mozilla-html:TRUE
url:http://www.tumonz.co.nz
version:2.1
end:vcard

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to