Re: JNI java.lang.UnsatisfiedLinkError with found DLL



On 11 Apr 2006 07:16:56 -0700, "Jörgen Persson" <jrpe99@xxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :


This error is not because it cannot find the DLL, which I have verified
by renaming it, there is something else.

The DLL is created in a Win32 Project using Microsoft Visual Studio
2005.

Are there windows version considurations when creating a DLL for JNI?

is the DLL binary the identical in both cases?

Keep in mind case sensitivity. I suggest renaming the dll to all
lower case. all the way through, not just the final file.

In a pinch try load vs loadlibrary. Screwy stuff going way back
happened I never could figure out meant one would work but not the
other.

See the gotchas at http://mindprod.com/jgloss/jni.html#LOADLIBRARY

In a pinch, you can use JAWS and put the DLL in the jar.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Re: Replace exe and dll in use
    ... >>How about renaming the old DLL, ... I didn't know that I could rename a dll that is already loaded by ... >I can not restart only those, I will need a reboot anyhow, so I could ... I use MoveFile, not MoveFileEx. ...
    (microsoft.public.vc.language)
  • Re: Replace exe and dll in use
    ... >>How about renaming the old DLL, ... I didn't know that I could rename a dll that is already loaded by ... >I can not restart only those, I will need a reboot anyhow, so I could ... I use MoveFile, not MoveFileEx. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Replace exe and dll in use
    ... >>How about renaming the old DLL, ... I didn't know that I could rename a dll that is already loaded by ... >I can not restart only those, I will need a reboot anyhow, so I could ... I use MoveFile, not MoveFileEx. ...
    (microsoft.public.vsnet.general)
  • Re: Replace exe and dll in use
    ... >>How about renaming the old DLL, ... I didn't know that I could rename a dll that is already loaded by ... >I can not restart only those, I will need a reboot anyhow, so I could ... I use MoveFile, not MoveFileEx. ...
    (microsoft.public.dotnet.general)
  • Re: Replace exe and dll in use
    ... >>How about renaming the old DLL, ... I didn't know that I could rename a dll that is already loaded by ... >I can not restart only those, I will need a reboot anyhow, so I could ... I use MoveFile, not MoveFileEx. ...
    (microsoft.public.dotnet.languages.vc)