How create an object of a Class from a string that holds the name of that class?
<p>Let's say I have a string with my class name inside:    </p>

<pre><code>mystring = "CDialogChild";
</code></pre>

<p>I would like to create an object of the type name written in my string.
I'd like to do something like:</p>

<pre><code>CDialogParent dlg = CDialogParent(mystring);
</code></pre>

<p>My new dlg is now created as type CDialogChild and I can use its methods:</p>

<pre><code>dlg.mycdialogchild_method();
</code></pre>
