s-news
[Top] [All Lists]

Re: dll values

To: <s-news@lists.biostat.wustl.edu>
Subject: Re: dll values
From: "Juan Ramon Gonzalez" <jrgonzalez@ico.scs.es>
Date: Thu, 28 Jun 2001 09:24:52 +0200
References: <Pine.LNX.4.31.0106261616210.1213-100000@gannet.stats>
I have found the solution for my problem. I used the "depends" app to see
the dependencies of my dll, and noticed that it uses another library called
DFORRT.DLL, which is a FORTRAN library.

Thank you very much for your help.

----- Original Message -----
From: Prof Brian Ripley <ripley@stats.ox.ac.uk>
To: Juan Ramon Gonzalez <jrgonzalez@ico.scs.es>
Cc: <s-news@lists.biostat.wustl.edu>
Sent: Tuesday, June 26, 2001 5:20 PM
Subject: Re: [S] dll values


> On Tue, 26 Jun 2001, Juan Ramon Gonzalez wrote:
>
> > I have created a DLL library with Fortran. When I load this library with
the
> > function dll.load from my computer, I get the value 1 that it
corresponds to
> > "DLL is now loaded". However, if I try to load it from another computer
> > it gives the value -1157.
> >
> > This value is not a documented value from the list that you can find in
the help
> > of dll.load.
> >
> > Why don't I load it correctly the DLL from another computer?
>
> Well, assuming this is some recentish version of S-PLUS (4.0, 4.5 or 2000)
> on Windows, it is almost certainly because the DLL you built depends on
> some compiler library which is not on the other computer.
>
> Get yourself a copy of pedump.exe off the net (one place is
> http://www.stats.ox.ac.uk/pub/Rtools/tools.zip) and run
>
> pedump.exe -i my.dll
>
> and it will tell you what DLLs it is looking for.
>
> If you have VC++, dumpbin.exe /imports does the same job, less well.
>
> --
> Brian D. Ripley,                  ripley@stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272860 (secr)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>


<Prev in Thread] Current Thread [Next in Thread>