title: Why can I not compile an object in Dynamics NAV containing an OCX?
body: <p>I imported a Form object from a text file. When I try to compile it I get the following error message:</p>
  
  <blockquote>
    <p>This message is for C/AL programmers:<br>
    The OLE control or Automation Server identified by 'Microsoft Common Dialog Control 6.0 (SP3)'.CommonDialog requires a design time license.
    This license cannot be obtained.
    Make sure that the OLE control or Automation server is installed correctly with an appropriate license" </p>
  </blockquote>
  
  <p>I am developing in Dynamics NAV using a developer license. The OCX is registered correctly, gets listed in NAV's "Custom Controls" as pointing to "C:\Windows\SysWOW64\comdlg32.ocx".<br>
  Why am I not allowed to compile the object?</p>