Skip to main content



      Home
Home » Archived » EGL Development Tools » call egl function from java
call egl function from java [message #1700377] Thu, 02 July 2015 05:06 Go to next message
Eclipse UserFriend
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] Mon, 04 January 2016 19:08 Go to previous message
Eclipse UserFriend
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: Wed Jun 18 12:11:40 EDT 2025

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

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

Back to the top