title: How can I detect if a Delphi class has a virtual constructor?
body: <p>For example, is there a way to find out that this class has a virtual constructor (at runtime)?</p>
  
  <pre><code>   TMyClass = class(TObject)
       MyStrings: TStrings;
       constructor Create; virtual;   
     end;
  </code></pre>
  
  <p>For example, in this code I would like to test if the class referenced by Clazz has a virtual constructor:</p>
  
  <pre><code>procedure Test;
  var
    Clazz: TClass;
    Instance: TObject;
  begin
    Clazz := TMyClass;
    Instance := Clazz.Create;
  end;
  </code></pre>
  
  <p>Is there a simple solution, for example using RTTI, which works in Delphi 6 to 2009?</p>