[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loadLibrary
I thought registering was needed only for com/ActiveX dlls, I didn't know
you used it for standard. I shall play with that then.
Thanks,
Bill
P.S. I will also play with the path idea, thanks.
----- Original Message -----
From: "Ralph" <titojermaine@yahoo.com>
To: "James Mitchell" <jmitchtx@telocity.com>; "List AJUG"
<ajug-members@ajug.org>
Sent: Friday, August 09, 2002 12:32 PM
Subject: RE: loadLibrary
> You can use regsvr32 (this comes with Windows, and is used to register
> and unregister DLLs) to register the dll. I can't guarantee that
> Java's System.loadLibrary call is just making a Win32 API LoadLibrary
> call, but if it is, and you only supply the dll name, it'll check (and
> it's been awhile, so don't quote me on this, but I believe this is the
> order) for a registered dll of that name first, then it'll look in the
> current working directory path, (at this point it may look n the
> System/System32 directory, but I can't remember if it does that or just
> assumes it's in your PATH environment variable), then it'll begin
> looking through the PATH environment variable.
>
> --- James Mitchell <jmitchtx@telocity.com> wrote:
> > You might try using the registry. Although I am not sure how to do
> > it, I've
> > heard it can be done.
> >
> > James Mitchell
> > Software Engineer\Struts Evangelist
> > Struts-Atlanta, the "Open Minded Developer Network"
> > http://www.open-tools.org/struts-atlanta
> >
> >
> >
> >
> > -----Original Message-----
> > From: Bill Woodson [mailto:radman@usefulware.com]
> > Sent: Friday, August 09, 2002 12:18 PM
> > To: List AJUG
> > Subject: loadLibrary
> >
> >
> > Hi All,
> >
> > Is there a way to load a dll library from the application path
> > instead of
> > copying it to the system folder and calling the System.loadLibrary()
> > method?
> >
> > Thanks,
> > Bill
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
>