RE: [Ikvm-developers] SWT
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2004-02-07 14:30:52
|
Brian J.Sletten wrote: > I was wondering if anyone has had success using SWT on=20 > Windows w/ IKVM.=20 I checked in new versions of jnienv.cpp/jnienv.h that implement Get/Set*ArrayRegion and Get/SetPrimitiveArrayCritical JNI functions. Your sample now works, but there is no guarantee that you won't run into another missing JNI function ;-) > I know that it has worked under Linux/Mono w/ the Eclipse=20 > effort but I get assertion failures in the JNI layer when > I try to do something using SWT on Windows. For the benefit of the list: Brian used the Eclipse 3.0 SWT and that uses some new JDK 1.4 JNI functions that I hadn't implemented yet (note that many of the 1.1, 1.2 and 1.4 JNI functions still aren't implemented). > If this should work, are there specific setup guidelines=20 > (Yes, Jeroen, I tried putting the SWT DLLs/ in the ikvm/bin > directory! ;) )? In this case that isn't necessary, because the SWT DLL is a regular Windows dll (not a .NET assembly) it can be loaded from all over the place, including the current directory. Regards, Jeroen |