Hi : Its pretty simple. Insert a new resource to your dll ( Dialog ) and add class to your resource inheriting from CDialog . and in the dllmain just CMyDialog dlg; dlg.DoModal() or Create and ShowWindow. Now from your Exe jusrt call load library and that is it.