Library Loading [message #436798] |
Mon, 24 May 2004 15:37 |
Eclipse User |
|
|
|
Originally posted by: mhuenken.cerner.com
Hi,
in the Library class there is a loadLibrary method that is implicitely
called by SWT classes like SWT_AWT.
Now my problem is that I don't want to load the required libraries from
the system path but from a specific absolute path that I define. I'm
loading the libraries using System.load("absolutePathname") before I'm
doing anything SWT related, but SWT still tries to load the same libraries
(using System.loadLibrary) because it fails to acknowlege the fact that
this libraries were already loaded. And since it doesn't find the
libraries in the path it subsequently fails to execute.
Is there a way (e.g. a flag) that can be explicitely set and which
prevents the libraries being loaded again?
In the SWT_AWT class for instance there is a (private) loaded flag.
Something like that (only public) would be very helpful for my needs.
Come to think of it this may be something for the developer's list. Any
comments?
Thanks,
Mark
|
|
|
|
Powered by
FUDForum. Page generated in 0.02869 seconds