Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT dll info
SWT dll info [message #448470] Mon, 10 January 2005 18:47 Go to next message
Eclipse UserFriend
Originally posted by: jmaken.hotmail.com

Didn't find any info in the FAQ's and I'm trying to determine which SWT
dll's are important to provide along with my app.

I'm using a Win2K dev system with Eclipse 3.0.1. Under the ...\os\win32\x86
directory, I have the following four files:

swt-awt-win32-3062.dll
swt-awt-win32-3063.dll
swt-win32-3062.dll
swt-win32-3063.dll

I suspect the 3063's are newer versions and I should include both latest
swt-win32-* and swt-awt-win32-* dll's with my app. I'd appreciate more info
on the versioning as well as the functionality differences between the
swt-win32 and the swt-awt-win32 dll's.
Re: SWT dll info [message #448471 is a reply to message #448470] Mon, 10 January 2005 19:08 Go to previous messageGo to next message
Bill Ewing is currently offline Bill EwingFriend
Messages: 49
Registered: July 2009
Member
We use Windows 2000 and eclipse 3.0.1 too and have similar questions which
have gone unanswered on this forum (good luck).

Our observations confirm what you say about the "3063" dll's being newer
and being replacements for the the "3062" dll's.

We don't use awt.

The instructions seem to indicate put the dll's in your system32 folder as
part of setup.

A bigger question for us is: how do you run an SWT on anything but a
machine that has eclipse installed. Deploying swt.jar next to an swt
app's jar file hasn't been enough. We've tried deploying the dll too.

We also use JFace, and there's five jar files that one book told us to
distribute with such apps. We'd sure like to read that in a authoritative
api guide on line, and for that matter, hear definitively, "what do you
have to distribute with swt apps?"

We are interested in learning if there is one single person who has ever
deployed a standalone SWT/JFace app on anything but an eclipse platform.
The problem with everything being a plug in is, no one seems to be
reponsible for answering questions like this.

jmaken wrote:

> Didn't find any info in the FAQ's and I'm trying to determine which SWT
> dll's are important to provide along with my app.

> I'm using a Win2K dev system with Eclipse 3.0.1. Under the ...oswin32x86
> directory, I have the following four files:

> swt-awt-win32-3062.dll
> swt-awt-win32-3063.dll
> swt-win32-3062.dll
> swt-win32-3063.dll

> I suspect the 3063's are newer versions and I should include both latest
> swt-win32-* and swt-awt-win32-* dll's with my app. I'd appreciate more info
> on the versioning as well as the functionality differences between the
> swt-win32 and the swt-awt-win32 dll's.
Re: SWT dll info [message #448479 is a reply to message #448471] Mon, 10 January 2005 23:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skrap.post.gmail.com

Bill Ewing wrote:
> We are interested in learning if there is one single person who has ever
> deployed a standalone SWT/JFace app on anything but an eclipse platform.
> The problem with everything being a plug in is, no one seems to be
> reponsible for answering questions like this.

All you need (for SWT) is the swt.jar file in the classpath and the dir
where the dll is in the library path (add -Djava.library.path=<directory
where dll is> if you run from the command line for example). Don't know
about JFace (yet).

/Johan
Re: SWT dll info [message #448537 is a reply to message #448479] Tue, 11 January 2005 18:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmaken.hotmail.com

This is the recommended solution if you have the swt.jar and dll's already
installed on your system.

However, as I'm interested in distributing my app as a jar that uses the SWT
java classes and JNI classes, I want to know precisely what dll's need to be
included with the distribution. As the Win32 solution has (4) dll's that
appear to be two different versions, I suspect I should use the 3063's but
was hoping someone knew the details. In addition, for a Win32 system, is
the swt-awt-win32-*.dll file required for an app that only uses SWT.


"Johan Karlsson" <skrap.post@gmail.com> wrote in message
news:crv2t5$ic6$1@www.eclipse.org...
> Bill Ewing wrote:
> > We are interested in learning if there is one single person who has ever
> > deployed a standalone SWT/JFace app on anything but an eclipse platform.
> > The problem with everything being a plug in is, no one seems to be
> > reponsible for answering questions like this.
>
> All you need (for SWT) is the swt.jar file in the classpath and the dir
> where the dll is in the library path (add -Djava.library.path=<directory
> where dll is> if you run from the command line for example). Don't know
> about JFace (yet).
>
> /Johan
>
>
Re: SWT dll info [message #448543 is a reply to message #448470] Tue, 11 January 2005 20:44 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
You must have the version of the dll that matches the version of the swt
jar(s). If you open the swt.jar you will find a file called version.txt.
This will tell you which version of the dll is required. You must have the
exact version. That is, if the version.txt says 3.062 then you can not use
swt-win32-3063.dll even though the version 3.063 is higher. You must use
swt-win32-3062.dll.

The library swt-awt-win32-XXXX.dll is only required if you use SWT_AWT to
embed Swing/AWT widgets in SWT.


"jmaken" <jmaken@hotmail.com> wrote in message
news:cruik9$k60$1@www.eclipse.org...
> Didn't find any info in the FAQ's and I'm trying to determine which SWT
> dll's are important to provide along with my app.
>
> I'm using a Win2K dev system with Eclipse 3.0.1. Under the
> ...\os\win32\x86
> directory, I have the following four files:
>
> swt-awt-win32-3062.dll
> swt-awt-win32-3063.dll
> swt-win32-3062.dll
> swt-win32-3063.dll
>
> I suspect the 3063's are newer versions and I should include both latest
> swt-win32-* and swt-awt-win32-* dll's with my app. I'd appreciate more
> info
> on the versioning as well as the functionality differences between the
> swt-win32 and the swt-awt-win32 dll's.
>
>
Re: SWT dll info [message #448624 is a reply to message #448543] Wed, 12 January 2005 14:32 Go to previous message
Eclipse UserFriend
Originally posted by: jmaken.hotmail.com

Makes sense...thanks Veronika

"Veronika Irvine" <veronika_irvine@oti.com> wrote in message
news:cs1dre$k8$1@www.eclipse.org...
> You must have the version of the dll that matches the version of the swt
> jar(s). If you open the swt.jar you will find a file called version.txt.
> This will tell you which version of the dll is required. You must have
the
> exact version. That is, if the version.txt says 3.062 then you can not
use
> swt-win32-3063.dll even though the version 3.063 is higher. You must use
> swt-win32-3062.dll.
>
> The library swt-awt-win32-XXXX.dll is only required if you use SWT_AWT to
> embed Swing/AWT widgets in SWT.
>
>
> "jmaken" <jmaken@hotmail.com> wrote in message
> news:cruik9$k60$1@www.eclipse.org...
> > Didn't find any info in the FAQ's and I'm trying to determine which SWT
> > dll's are important to provide along with my app.
> >
> > I'm using a Win2K dev system with Eclipse 3.0.1. Under the
> > ...\os\win32\x86
> > directory, I have the following four files:
> >
> > swt-awt-win32-3062.dll
> > swt-awt-win32-3063.dll
> > swt-win32-3062.dll
> > swt-win32-3063.dll
> >
> > I suspect the 3063's are newer versions and I should include both latest
> > swt-win32-* and swt-awt-win32-* dll's with my app. I'd appreciate more
> > info
> > on the versioning as well as the functionality differences between the
> > swt-win32 and the swt-awt-win32 dll's.
> >
> >
>
>
Previous Topic:DnD - several transfer classes?
Next Topic:Table - LabelProvider - Images
Goto Forum:
  


Current Time: Sat Apr 17 00:23:34 GMT 2021

Powered by FUDForum. Page generated in 0.02082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top