Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EGL Development Tools » call egl function from java
call egl function from java [message #1700377] Thu, 02 July 2015 09:06 Go to next message
danilo pifferetti is currently offline danilo pifferettiFriend
Messages: 4
Registered: September 2013
Location: Lecco - Italy
Junior Member
good morning,
there is a way to call an egl function from a java src (externaltype ... javaobject)
thanks
danilo
Re: call egl function from java [message #1719076 is a reply to message #1700377] Tue, 05 January 2016 00:08 Go to previous message
danilo pifferetti is currently offline danilo pifferettiFriend
Messages: 4
Registered: September 2013
Location: Lecco - Italy
Junior Member
i find a way:

example.java
package Exemple;

import ....

public class Myexample {
public pgm.lib edt; // where pgm is package and lib is the edt library name

public pgm.lib edt() {
if (edt == null) {
edt = (pgm.lib)org.eclipse.edt.javart.Runtime.getRunUnit().loadLibrary("pgm.lib");
}
return edt;
}

public avvio() {
// for call edt function:
edt().scrivi(100); // where scrivi is the function name in library lib
}

}





Previous Topic:EGL tools Features
Next Topic:Proposing Termination of the EDT Project.
Goto Forum:
  


Current Time: Fri Sep 21 00:58:24 GMT 2018

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

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

Back to the top