By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,159 Members | 943 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,159 IT Pros & Developers. It's quick & easy.

How to handle device change in C++, then notify Java application

P: 2
Hi all,

I hava java application that wants to receive windows events when a device like an USB or Firewire is plugged in. I know how to do this natively in C++ where I can register a window to receive device change events using WM_DEVICECHANGE. I'm assuming I'd have to use JNI to somehow get the events up to my java app from the native code, but I'm not sure where to start exactly. I've posted this question to the Java froum as well but any help/suggestions will be much appreciated.

Regards,
Tuism
Nov 8 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.