I am afraid you misunderstood my purpose. Now I change
the code to this:
procedure TryMetadata;
var NGraphic: TGraphic; GraphicClass: TGraphicClass; begin GraphicClass :=
TMetaFile;
NGraphic := GraphicClass.Create; end;
Why constructor of
TMetafile.Create is not called instead only TObject.Create is
called?
if TMetafile.Create is called, why I put I breakpoint
in the source code of Graphics.pas at the
TMetafile.Create,
Delphi dosn't stop there? or Press F7 at line NGraphic
:= GraphicClass.Create, Dephi won't go to TMetafile.Create.
?
Surely, my Compiler -> use Debug Dcus is
on.
This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal - For more information please visit www.marshalsoftware.com |
Title: Message
- [DUG]: polymorphism problem Jianming Lin (ASL)
- RE: [DUG]: polymorphism problem Kyley Harris
- Re: [DUG]: polymorphism problem Nello Sestini
- Re: [DUG]: polymorphism problem Dennis Chuah
- RE: [DUG]: polymorphism problem Andreas Toth
- Re: [DUG]: polymorphism problem Dennis Chuah
- RE: [DUG]: polymorphism problem Andreas Toth
- RE: [DUG]: polymorphism problem Jianming Lin (ASL)
- RE: [DUG]: polymorphism problem Kyley Harris
- RE: [DUG]: polymorphism problem Jeremy North
- Re: [DUG]: polymorphism problem Nello Sestini
- RE: [DUG]: polymorphism problem Jianming Lin (ASL)
- Re: [DUG]: polymorphism problem Dennis Chuah
- RE: [DUG]: polymorphism problem Jianming Lin (ASL)
- Re: RE: [DUG]: polymorphism problem Chris Reynolds
- Re: RE: [DUG]: polymorphism problem Chris Reynolds
- RE: RE: [DUG]: polymorphism problem Andreas Toth
- RE: [DUG]: polymorphism problem Andreas Toth