• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

loading a DLL inside java class

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please Help!
I am loading a DLL namely ApplyJNIApi.dll(equifax client program)in a method aa() in a class a.b.c.ApplyJNIApi.java which is lying in a package a.b.c. I am calling aa()in my class a.b.c.EquiClient lying in same package a.b.c. While loading DLL's method InitSession in my aa(),the system throws an exception
"Exception in thread "main" java.lang.UnsatisfiedLinkError: InitSession". The DLL is lying in winnt/system32 which is on my path. Secondy, If I call the same method from a class say test without any package statement the program is working fine.

Thanks tanveer_brar@yahoo.com
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic