Hello.

I have a dll with MFC shared library.I want to create a MFC dialog from dll.
The dialog is blocking when it loads so I want to put it into user interface thread and create it from there.

When I create it in the dll - it successfully created, but when I try to create it inside the ui thread - it fails (no errors ,no assertions - just terminates ).

I suspect it has something to do with resource sharing , but i do not know wjat to do to make it work.

Please help.

Thanks