• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help! Cannot find one method in DLL finds all others!

 
Dan Bizman
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand this. I've got a DLL that I've been using and recently added a new method to it and I keep getting an UnsatisfiedLinkError for that method only. Any idea what's going on?
 
Jean-Francois Briere
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hard to tell. Could be many things. You will have to tell us more about your problem.
 
Dan Bizman
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jean-Francois Briere:
Hard to tell. Could be many things. You will have to tell us more about your problem.


Well, this is weird. The method's name was "cleanUp" (in Java) and when I changed it to "removeWindow" it found it! What's that about? It can't be a reserved name in C++ because in C++ code it was named "Java_MyClass_cleanUp" per the JNI rules.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!