native method [message #892551] |
Thu, 28 June 2012 15:21  |
user Kyle Messages: 19 Registered: April 2012 |
Junior Member |
|
|
Hi,
How is it possible to load native lib in Designer?
For example, I have a dll, myDll.dll, with native method test().
For example, I have :
public class TestCompo {
public static native String test();
public static void main(String[] args) {
new TestCompo();
}
public TestCompo(){
test();
}
I tried to load my lib (System.loadLibrary("myDll")) in the start of Swing Activator.
But when I launch Swing plugin, and I try to design my source code I have an error with "UnsatisfiedLinkError".
So my dll is not load in Designer.
Any idea?
(PS: code works in execution)
[Updated on: Thu, 28 June 2012 15:31] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02849 seconds