I would recommend 2 things: 1) Try implementing an "empty" dll for JNI, which will just implement empty functions you need. This will obviously not require the hw vendor library. 2) Try implementing a library/executable with the functions you need, which will know nothing about Java/JNI. This will use the hw vendor lib.
Then you will see which part of the process causes the problem (probably the second one and therefore it has nothing to do with java ;-). When you resolve the problem you can easily put those 2 pieces together.
BTW I can't see that you are linking the hw vendor library to your dll. Couldn't that be the problem?
Hope it helps, Petr [ November 02, 2004: Message edited by: Petr Blahos ]