How to work-around "Object required" error when adding a variable in an ATL Dialog

Posted by Toto on Stack Overflow See other posts from Stack Overflow or by Toto
Published on 2009-03-01T19:05:10Z Indexed on 2010/04/01 18:03 UTC
Read the original article Hit count: 423

Filed under:
|
|

I'm using Visual Studio .NET 2003 to develop a COM ATL application in unmanaged Visual C++.

I've created a ATL Dialag and whenever I try to add a variable for a control the wizard thorws the message "Object required".

I've tried the following alternatives:

  • 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.
  • This post, but it is for VS2005.

Does anyone knows any work-around-around for this problem? Or what the wizard actually does so I can do it manually?

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about atl