Is it safe for me to manage memory of a dll class if I call new and delete?
<p>If my DLL has the implementation of one of my classes, if I do new and delete on it is that okay? When is the problem regarding DLLs and who allocates what?</p>

<p>What if that class calls new?</p>

<pre><code>    class InDLL {
    A* something;

    InDLL()
    {
       something = new A;
    }
    };

    ...

    //me

InDLL dll = new InDLL(); //problem?
</code></pre>

<p>Thanks</p>
