• Post Reply Bookmark Topic Watch Topic
  • New Topic

catch WM in JNI DLL

 
Joe Schaffer
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

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?

Thanks for your help

Joe
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!