[jnc-users] SWT DLL version issue
Status: Beta
Brought to you by:
soapy
|
From: Maximilian E. <max...@ya...> - 2009-07-05 18:06:10
|
Hello and Gruezi Marco!
First: Thank You a lot for Your work. I struggled a few days through gcj and failed (like I always do in my life ...) but prefer now to pay You for Your pain. Chapeau!
Now the problem:
I downloaded 1.1.1 and wrote a standard Hello-App named Wuff.java (I am a dog owner), included swt.jar in the project, added command line flags "--classpath=C:\jnc\swt.jar" (checked) and "-findirect-dispatch", excluded GUI and JCE packages (by the way: java.text contains the often-used SimpleDateFormat and DecimalFormat - better leave it in the core jar!!!!) and compiled it successfully.
Starting it on the Dos-Box told me:
C:\jnc>Wuff
Exception in thread "main" java.lang.UnsatisfiedLinkError: swt-win32-3218: can'
...
So I copied the
swt-win-32-3235.dll
enclosed in Your download into the directory of Wuff.exe
It failed again, so I looked closer to the error message and detected, that it was expecting ..3218.dll, not 3225.
Renaming did the job an the dog barked.
Would You please take a look to the different expected versions? Maybe 3225 contains a few sexy features more than 3118. Or is only the message outdated (Copy&Paste)?
Greetings from Speyer
Maximilian Eberl
|