I've been using this custom control for some time now but today I started a brand new dialog based app and accepted all the defaults to create the project. After adding a custom control to the dialog, I enter SysDateTimePick32 as the class name for the control and rebuild the project. The dialog fails to create with a simple error of Warning : failure to create dialog. If I remove the custom control, there is no problem. I've already checked to see that the AfxEnableControlContainer call is there in InitInstance, but I'm stuck as to what else to look at for possible failure reasons. Any suggestions would be gladly accepted.