java - System.load() never happens -


i using system.load() on self signed java applet, older version of dll loads fine, new version (even though dll builds fine) not load, not throw exceptions, stops code in it's tracks.

any ideas may cause this?

this html deploys jar file:

<embed  id = "ib"  type = "application/x-java-applet"  width = "{$width}"  height = "{$height}"  code = "{$code}" archive = "{$archive}" username = "{$username}" password = "{$password}" account = "{$customer_ref}" debug = "{$debug}" baseweburl = "{$baseweburl}" webserviceurl = "{$webserviceurl}" /> 

the c++ added create dll file:

header (javah created)

/*  * class:     i_jni_b  * method:    deviceonline  * signature: ()z  */ jniexport jboolean jnicall java_i_jni_b_deviceonline   (jnienv *, jobject); 

cpp file

jniexport jboolean jnicall java_i_jni_b_deviceonline   (jnienv *env, jobject) {     try     {         cdevice* clsdevice = new cdevice();         clsdevice->initialize();         clsdevice->release();         return true;     }     catch (system::exception^ ex)     {         return false;     } } 

you never believe sollution: had visual studio in debug mode.. when set release mode, functions perfectly! maybe save time...


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -