I add dialog class for dialog resource by right click resource and select Add Class in designer.
In header file and cpp file of the dialog class, I add:
namespace N01 {
namespace N02 {
}
}
around codes in those files
When I add a edit box control on dialog resource in design view and right click on the control then select Add Variable, I get error of: Did not find a dialog class with the specified ID
Thanks.