title: How dynamic linking reacts on a change in object
body: <p>I have compiled a component (say <code>X.exe</code>) linked with a dynamic library (say <code>Y.dll</code>). <code>X</code> and <code>Y</code> have been released.</p>
  
  <p>Now I have made a small change in an object's function which <code>Y</code> holds: I've <code>delete</code>d a leaked object and made its pointer <code>NULL</code>.</p>
  
  <p>To apply this change with full compatibility what should I do?  </p>
  
  <ol>
  <li><p>Need to recompile component <code>X</code> with the new library file and need to replace the DLL as well;</p></li>
  <li><p>Recompiling <code>X</code> with new library file would be enough;</p></li>
  <li><p>Replacing the DLL would be enough.</p></li>
  </ol>