Hi, Thanks for the research. :) But I can't implement it due to two problems. First of all, I can't create a dialog in a thread from the template in my dll. Only way to do it is via dll's HMODULE and ::FindResource+::LoadResource and then CreateInderect. I don't think it's normal. Second is that after DoModal I get error message ERROR_RESOURCE_DATA_NOT_FOUND(1812). Even if I create the dialog in the DLL::InitInstance, which is possible to do with normal .Create(id, pWnd), I have the same error in DoModal. Any ideas? :confused: If you did it somehow, maybe you can send me an example? And one small remark, if I use modal dialog in child thread, does that mean that my main thread will be suspended until modal dialog on a screen? Thanks for your help.