Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JNI native win32 Sendmessage is not working properly

904134Feb 29 2012 — edited Mar 13 2012
native Win32 sendmessage works only for some messages. (From a java application to a WndProc in C#)

I can send message like WM_CLOSE but it never send message like WM_COPYDATA (The WndProc never even receive the message)

Is there something particular with SendMessage under jni ? is there any java example of using a WM_COPYDATA to send data to something else than java? ( I tried the example somewhere in JNI and another example found on the internet and it's never working as expected since the message is never sent

Thanks,

Michel
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 10 2012
Added on Feb 29 2012
6 comments
4,064 views