Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   Create MFC dialog from dll in UI thread (http://www.go4expert.com/forums/create-mfc-dialog-dll-ui-thread-t7931/)

slav 19Dec2007 19:07

Create MFC dialog from dll in UI thread
 
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


All times are GMT +5.5. The time now is 09:23.