s-news
[Top] [All Lists]

Re: Problem with attaching S.dll in V7.0

To: Horace Tso <Horace.Tso@pgn.com>
Subject: Re: Problem with attaching S.dll in V7.0
From: Prof Brian Ripley <ripley@stats.ox.ac.uk>
Date: Wed, 17 Aug 2005 05:52:39 +0100 (BST)
Cc: s-news@lists.biostat.wustl.edu
In-reply-to: <s301c57f.000@pgn.com>
References: <s301c57f.000@pgn.com>
Note this says `procedure'. I believe it is not saying that the DLL could not be found, but that an entry point used by the DLL could not be found, probably in another DLL it is linked to.

In particular, if the DLL contains calls into S-PLUS, it may well need to be recompiled. Using DUMPBIN (part of VS) or pedump (available on the net) will show you what your S.dll is importing.

On Tue, 16 Aug 2005, Horace Tso wrote:

Dear list,

I have a S.dll with a bunch of C routines that I regularly call from Splus. These C functions were compiled and built with Visual Studio .NET 2003. They have been working just fine under 6.2.

When I tried attaching a directory with this S.dll in it, i got the error,

"F:\sPlus\....\S.dll: The specified procedure could not be found."

...in spite of the fact that the file S.dll is there and is visible v6.2. (My F: drive is out on the corporate network, but I've tried copying it over to a directory in my local C: and I still got the same error msg.)

Is there something i have to set to make it visible? some environmental variables perhaps? a switch in the .First?

--
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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