This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re[2]: Win32 SWT Problem
- From: John Murga <john at murga dot org>
- To: "David-C Harrison" <david-c dot harrison at db dot com>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 31 Jan 2003 20:48:14 +0000
- Subject: Re[2]: Win32 SWT Problem
- References: <OFA316AF6F.1E26CABE-ON80256CBF.00302125@db.com>
- Reply-to: John Murga <john at murga dot org>
Hey
DCH> Thanks for the reply. I'm using Eclipse 2.0.1, should I be
DCH> using a different/newer one?
I don't think it matters too much... I tried it with M3
DCH> I've been corresponding with Erik Poupaert on this. His advice
DCH> suggests that my problem is due to not having VC.NET installed
DCH> on this machine. Would you agree that VC.NET is required?
VC.NET is not required unless you are trying to build the DLL itself.
...
DCM> If I link to the Win32 libs (on Erics advice) when building the
DCM> exe (add -lole32 -lcomctl32, etc.) the app runs, does not give
DCM> and NPE but the VM exits imediatly and the Shell flashes up and
DCM> disapears just *after* the VM exits - very strange.
I didn't have to do any of that... have a look at the following message,
it includes a couple of attachments, look in the "build-swt.sh", that
takes care of the whole swt build process :
http://gcc.gnu.org/ml/java/2002-12/msg00147.html
As long as you down want to re-build the SWT dll it should be easy.
Cheers
JohnM