Hi Anil, I tried to do so, but if I want to acces it from the app like CDialogXX m_dialogXX; m_diologXX.create(ID_SOURCE, NULL); // ID_Source is a resource of the DLL // but #defined in both identical. the AFX_FindResource()-Function will abort. TRhats my problem. Thank you for helping Regards Meinhard