• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

question about native method call

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got a problem as follow, can anyone give me some idea
In the application, there is a call to '1.dll' by using System.loadLibrary(). In the 1.dll there is another call to '2.dll'. When the program is run, it prompts an error message "java.exe-DLL Initialization Failed -- Initialization of the dynamic link library 2.dll failed. The process is terminating."
I'm running on WIN NT 4.0/JDK 1.3.1. All the other functions of the application are just fine.
Thanks,
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had the same problem before. calling a dll from a dll. It turned out that it was the path wasn't set properly. the first dll could not find the second dll.
I don't know if this is your case, but just a thought.
kawaii
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic