Calling COM method in DLL using the JNI -


i'm trying integrate third party dll using jni. i've written test class see if can call method in dll i'm getting "unsatisfiedlinkerror" error.

the class looks following:

public class mytest {      native string configurerequest(string a, string b, string c, string d);      static {         system.loadlibrary("my_dll");       }      @test     public void quicktest(){          string result = this.configurerequest("1", "1", "1", "nocontrolbar");          system.out.println("result: " + result );      }  } 

i have used typelibrary viewer investigate dll , can see method there (although says in package "eiacominterface.txnrequests" i'm wondering need specify package somewhere on method). can verify method parameters correct.

can advise on please?

thanks lot, gearoid.

it looks though jacozoom possible solution above problem. in case, turns out can use soap query webservice.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -