A dynamic link library (DLL) initialization routine failed
843829Nov 16 2009 — edited Nov 16 2009Hi All,
Before posting this i did a search with same subject line and i tried all possible ways suggested in those threads but it did not help me,
So atlast i decided to post my problem.
Here it is,
I have a java program which has to communicate to C programme.
This C code is bundled into a lib file test.dll it also has some dependent libraries which i have included them in PATH environment variable of my local machine.
i have written code as
<code>System.loadLibrary("test");</code>
while running my programme using eclipse i have included -Djava.library.path=C:\clibraries\ in the VM arguments.
i try to run my code and it throws
java.lang.UnsatisfiedLinkError: C:\clibraries\test.dll: A dynamic link library (DLL) initialization routine failed
please let me know the possible areas to look into.
Thank you in advance.