[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Urgent: has somebody printed simple text to a printer from a Pocket PC SWT application?

Ah yeah.. That's one reason for UnsatisfiedLinkError.
I dunno, but there really are methods in SWT that aren't implemented
in the DLLs. One way to telling if you are invoking a non-implemented
method is that other SWT methods doesnt throw the exception.

>> "-Xbootclasspath/p:\Storage Card\immapp\swt.jar;\Storage
>> Card\immapp\WebServicesME.jar"    -Djava.library.path=\Windows
I'm not sure with your java.library.path option here.
I think it has to be an absolute path or a path that is
relative to your project. ie. if you have a lib folder
inside your Project, put -Djava.library.path=lib
This usually works for me.

>> "-Xbootclasspath/p:\Storage Card\immapp\swt.jar;\Storage
>> Card\immapp\WebServicesME.jar"
>> "-Djava.library.path=\Windows\swt-win32-3064.dll"
>> and
>> "-Xbootclasspath/p:\Storage Card\immapp\swt.jar;\Storage
>> Card\immapp\WebServicesME.jar"
>> "-Djava.library.path=\Windows\swt-win32-3064"
These options aren't necessary I think. You only need
to specify the folder where the dlls can be found...