
HELP! create modeless dialog in a DLL
First of all, sorry for my English.
I am trying to implement a simple console application
which calls a dll in this way:
...
calls to functions
...
dll_create_dialog();
...
calls to functions
...
dll_destroy_dialog();
The DLL has to create a MODELESS dialog, so the user can
interact with it, while
the application can continue (after dll_create_dialog()
can be other calls).
I have tried to do it using a new thread in this way: In
the DLL I create a thread
and in the constructor of this thread a create the dialog.
It works, because I can create the dialog and the
application continues, but I can NOT
click in the buttons of the dialog.
Thank you,
guille =]