This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Calling SWT from C++ code


Praful bhoyar wrote:

Hi Andrew,
     That is the problem i do not have "Composite.h" in my machine,
because the SWT library comes as a DLL
and there are no header files for this, when a ran gcjh on my java code it
generated the "phone.h" header file.

May be there is some other way to use SWT with CNI



You must have the .class files for SWT somewhere, in order to compile your Java SWT code? Looks like you'll need to generate .h files for the SWT classes, using gcjh.


Regards

Bryce


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]