Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/Delphi/Interfaces    [ Add a report in this area ]  
Report #:  51483   Status: Closed
Delegating to an interface-type property causes E1513
Project:  Delphi Build #:  8.1
Version:    7.0 Submitted By:   Sergey Antonov
Report Type:  Basic functionality failure Date Reported:  9/3/2007 11:45:32 AM
Severity:    Infrequently encountered problem Last Updated: 9/24/2007 2:18:17 AM
Platform:    All platforms Internal Tracking #:  
Resolution: Fixed (Resolution Comments) Resolved in Build: : 11.0.2804
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Delegating to an interface-type property causes E1513.

Just open the attachment project in Delphi 7.
And Run(F9).




Steps to Reproduce:
None
Workarounds
Rebuild the project.
Attachment
51483.zip
Comments

Larry Hengen at 12/30/2008 12:05:54 AM -
The assumption that this bug is fixed because it could not be reproduced is incorrect.  I can reproduce it on any clean Delphi installation with a set of my source code.

It occurs on this line of code:

IObserver(FBoundObject).DetachAll;

Normally this compiles just fine, but in certain environmental situations the compiler generates an E1513 and I waste a great deal of time trying to figure out why so I can move onto some real work.

MPS Informática at 8/9/2010 7:01:38 AM -
I agree, the same problem happens to me. In my case, I have a interfaced object that uses delegation implemented and deployed in a package that is used by another one. Maybe it´s a module boundary problema, but it certainly exists and causes a big trouble.

Server Response from: ETNACODE01