Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » native method
native method [message #892551] Thu, 28 June 2012 15:21 Go to next message
user Kyle is currently offline user KyleFriend
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

Re: native method [message #892562 is a reply to message #892551] Thu, 28 June 2012 15:50 Go to previous message
user Kyle is currently offline user KyleFriend
Messages: 19
Registered: April 2012
Junior Member
It's work, my mistake, sorry!
Previous Topic:JPanel background color as a resource property
Next Topic:How to remove windowbuilder components?
Goto Forum:
  


Current Time: Tue Mar 19 08:06:09 GMT 2024

Powered by FUDForum. Page generated in 0.01885 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top