Calling SWT from C++ code

Bryce McKinlay mckinlay@redhat.com
Fri Nov 5 15:08:00 GMT 2004


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /