c# - Can't load .dll file (HRESULT 0x80070002) -


eclipse .dll file plug-in of mine needs execute. full path of file:

c:\eclipse\eclipse-sib\eclipse\configuration\org.eclipse.osgi\bundles\324\1\.cp\jni4net.n.w32.v20-0.8.6.0 

trying open this:

public class main {    public static void main(string[] args) {      file f = new file("c:\\eclipse\\eclipse-sib\\eclipse\\configuration\\org.eclipse.osgi\\bundles\\324\\1\\.cp\\jni4net.n-0.8.6.0.dll");      system.out.println(f.getname() + " " + f.getabsolutepath());   }  } 

does work!

output: jni4net.n-0.8.6.0.dll c:\eclipse\eclipse-sib\eclipse\configuration\org.eclipse.osgi\bundles\324\1\.cp\jni4net.n-0.8.6.0.dll 

but run plug-in file gets accessed receive following:

enter image description here

using fuslogvw.exe says same:

*** assembly binder log entry  (26.08.2013 @ 13:53:35) ***  operation failed. bind result: hr = 0x80070002. system cannot find file specified.  assembly manager loaded from:  c:\windows\microsoft.net\framework\v2.0.50727\mscorwks.dll running under executable  c:\eclipse\eclipse-sib\eclipse\eclipsec.exe --- detailed error log follows.   log: ijw explicit bind. file path:c:\eclipse\eclipse-sib\eclipse\configuration\org.eclipse.osgi\bundles\324\1\.cp\jni4net.n-0.8.6.0.dll. 

does know problem possibly be?

i think error might because missing dependency "jni4net.n-0.8.6.0.dll". on windows suggest use filemon/processmonitor check files/dlls eclipse tries load before error.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -