Neven,

Not impossible, but not trivial.  Consider these issues:

1.  If you recreate vcl30.dpl, you will need to create a separate version
for runtime because the design time packages depend on vcl30.dpl and you
don't have the source to recompile them.

2.  You will *most probably* have to recompile all 3rd party components that
rely on Classes.pas (which ones don't?)  This is because the unit interface
has changed.

3.  When a new version of Delphi appears, you will have to recompile
everything all over again.

I have done it a few times (to fix VCL bugs mainly), but I will definitely
look at all other options before embarking on compiling the VCL - especially
if it involves a change to a unit's interface.

As an aside, if the interface is not changed, you can create a copy of the
unit, modify it, and include it with your project.  The linker will use the
included one instead of the one in the VCL.  Be careful if you use run-time
packages though - your packages will always use the packaged version.

Regards,
Dennis.

> -----Original Message-----
> Denis
>
> I haven't tried this but is it difficult?
>
> Regards Neven
>
> N.K. MacEwan B.E. E&E
>
>
> ----- Original Message -----
> From: Dennis Chuah <[EMAIL PROTECTED]>
> To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> Sent: Wednesday, 17 November 1999 07:56
> Subject: RE: [DUG]: class typing
>
>
> >
> > That would involve compiling the Classes unit, which
> implies you have to
> > recompile the rest of the VCL!  Good luck!
> >
> > Regards,
> > Dennis.
> >
> > > -----Original Message-----
> > >
> > >
> > > Ben
> > >
> > > The classes unit defines a variable ClassList
> > > all you have to do is add a new procedure that gvie access to
> > > this list
> > >
> > > Regards
> > >
> > >
> > > ----- Original Message -----
> > > From: Ben Taylor <[EMAIL PROTECTED]>
> > > To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> > > Sent: Tuesday, 16 November 1999 14:24
> > > Subject: Re: [DUG]: class typing
> > >
> > >
> > > > Neven!
> > > >
> > > > > Look at the code for the GetClass function in the
> > > > > Classes unit and the ClassParent property
> > > > cool.. classparent/InheritsFrom looks exactly like
> > > > what i need :-)
> > > >
> > > > > Question -  are you trying to do something for all
> > > > > classes (like a class browser)
> > > > i'll need the functionality of a class browser to
> > > > do what i want.. now i know about classparent all
> > > > i need is a list of registered classes... ideas?
> > > >
> > > > Thanks,
> > > > Ben.
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Bid and sell for free at http://auctions.yahoo.com
> > > >
> > > --------------------------------------------------------------
> > > ------------
> > > -
> > > >     New Zealand Delphi Users group - Delphi List -
> > > [EMAIL PROTECTED]
> > > >                   Website: http://www.delphi.org.nz
> > > >
> > >
> > > --------------------------------------------------------------
> > > -------------
> > >     New Zealand Delphi Users group - Delphi List -
> > > [EMAIL PROTECTED]
> > >                   Website: http://www.delphi.org.nz
> > >
> >
> >
> --------------------------------------------------------------
> ------------
> -
> >     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> >
> >
>
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to