Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Visual Form Inheritance    [ Add a report in this area ]  
Report #:  6356   Status: Closed
Acces violation when creating a unit derived from custom created module
Project:  Delphi Build #:  1
Version:    7.0 Submitted By:   Vandenbussche Director
Report Type:  Minor failure / Design problem Date Reported:  11/4/2003 3:18:19 AM
Severity:    Serious / Highly visible problem Last Updated: 7/23/2007 9:14:16 AM
Platform:    All versions Internal Tracking #:  
Resolution: Test Case Error (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (4 Total Ratings)
1.50 out of 5
Total Votes: None
Description
None
Steps to Reproduce:
Install both packages in attachment.
Add browser unit (form) to repository
Inherit from browser unit
--> acces violation in IDE
Workarounds
Make changes in Delphi4 and then copy them to Delphi7
Attachment
VFI.zip
Comments

Andreas Kreul at 11/4/2003 5:55:24 AM -
14088  2839689

CAS Developers at 7/23/2007 9:44:19 AM -
I gave this report a rating of 1, based on the very shoddy, complex example program given.

This is a test case error. Moving the ancestor's code in AfterConstruction to its OnCreate event and the code in the Browser form's constructor to its OnCreate event, I was able to eliminate the access violation. It occurred because reference was made to components that had not been initialised yet.

Server Response from: ETNACODE01