What is the way to include MFC Dialog based Application to SDK Project. I Want my dialog has to activate on WM_CREATE . What is the way to do it . if i Put CMYClass dlg(in Header File); dlg.DoModal(). this is not working . plz help me