Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Calling a C library from a SWT app ?
Calling a C library from a SWT app ? [message #465470] Wed, 14 December 2005 15:29 Go to next message
Eclipse UserFriend
Originally posted by: me2.nowhere.com

I need to access USB ports from my SWT application. I'd like to use
libusb on Linux platforms.

How does one use a C library like libusb from within a SWT application ?
Re: Calling a C library from a SWT app ? [message #465471 is a reply to message #465470] Wed, 14 December 2005 15:49 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

I'd start with the java JNI
http://java.sun.com/j2se/1.5.0/docs/guide/jni/index.html

Later,
PW


Re: Calling a C library from a SWT app ? [message #465474 is a reply to message #465471] Wed, 14 December 2005 16:16 Go to previous message
Bob Marinier is currently offline Bob MarinierFriend
Messages: 3
Registered: July 2009
Junior Member
SWIG may be able to generate the JNI code for you: http://www.swig.org.

Bob

Paul Webster wrote:
> I'd start with the java JNI
> http://java.sun.com/j2se/1.5.0/docs/guide/jni/index.html
>
> Later,
> PW
Previous Topic:Potential bug in TableViewer with associated VIRTUAL table
Next Topic:Problem saving and retrieving ImageData from Database
Goto Forum:
  


Current Time: Thu Jun 20 15:38:57 GMT 2019

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

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

Back to the top