I have to implement a mechanism to catch windows messages in a dll that already implements jni functions. The fact, that the program won't be portable to other system environments would be ok in my case.
To catch the messages I generate a dialog box in the dll. DoModal() doesn't work because it will block my java application then. That's why I use Create(..) for creating the dialog box in the dll. But unfortunately the program doesn't catch the messages.
Has anybody an idea how solve the problem or has anybody faced this problem before and knows the solution for it?