I am able to load a DLL library on my machine by putting it in a directory found in the PATH environment variable. I can also specify System.setProperty("jna.library.path","C:\\dev");
and that works. For some reason I cannot get it to work on another box that's running the same version of JBoss.
I tried dropping the DLL in C:\WINDOWS which is in the system PATH variable as well as a few other places and nothing works. Also, I tried putting it in C:\eclipse_dev\jboss-4.2.3.GA\bin which is in the user PATH variable.
The only differences between these machines are that mine is Win XP and the other that's not working is Windows server 2003 and also there are multiple users for windows server 2003, but I still have administrator privileges.