title: How to work-around "Object required" error when adding a variable in an ATL Dialog
body: <p>I'm using Visual Studio .NET 2003 to develop a COM ATL application in unmanaged Visual C++.</p>
  
  <p>I've created a ATL Dialag and whenever I try to add a variable for a control the wizard thorws the message "Object required".</p>
  
  <p>I've tried the following alternatives:</p>
  
  <ul>
  <li>Right click in the control to call
  "Add variable" from there: this way
  the wizard does not thorws the
  message but the variable is not
  created.</li>
  <li><a href="http://www.codeguru.com/forum/showthread.php?t=441693" rel="nofollow noreferrer">This post</a>, but it is
  for VS2005.</li>
  </ul>
  
  <p>Does anyone knows any work-around-around for this problem? Or what the wizard actually does so I can do it manually?</p>