Re: [R] error message %1 is not a valid Win32 application.

From: Duncan Murdoch <murdoch.duncan_at_gmail.com>
Date: Thu, 26 May 2011 21:47:32 -0400

On 11-05-26 9:39 PM, sivan aldor wrote:
> The file was copied properly, My instinct is the problem has to do with
> the OS but I want to see if there is a way to resolve this.

Sounds like you have to take it up with the OS manufacturer then.

Duncan Murdoch

>
>
> On Thu, May 26, 2011 at 9:35 PM, Duncan Murdoch
> <murdoch.duncan_at_gmail.com <mailto:murdoch.duncan_at_gmail.com>> wrote:
>
> On 11-05-26 9:11 PM, sivan aldor wrote:
>
> I ran the exact command this morning on a friend's computer which is
> 32bit and it worked!
> I am now running it from a different computer. As far as I can
> tell the
> only difference is that his OS is VISTA and mine is Windows 7.
> Can that
> really be the problem?!?!
>
>
> What makes you think the file got copied properly to the different
> computer?
>
> By the way, I've looked at the code, and it doesn't appear to be
> worth the trouble to replace that %1, because dyn.load() is
> platform-neutral, while the message only has that format in Windows.
> The full error message (which it would have helped if you'd shown)

> is something like:
>
> unable to load shared object 'D:/stuff/junk.dll':
> LoadLibrary failure: %1 is not a valid Win32 application.
>
> The %1 is just the file listed on the previous line.
>
> Duncan Murdoch
>
>
> On Thu, May 26, 2011 at 9:05 PM, Duncan Murdoch
> <murdoch.duncan_at_gmail.com <mailto:murdoch.duncan_at_gmail.com>
> <mailto:murdoch.duncan_at_gmail.com
> <mailto:murdoch.duncan_at_gmail.com>>> wrote:
>
> On 11-05-26 8:42 PM, sivan aldor wrote:
>
> The only command I am using is
> dyn.load("dbsvls.dll")
>
>
> Okay, I get the error message you showed if I try to load
> something
> that really isn't a valid Win32 dll, and I don't get it when
> I load
> a valid one. (I'm not sure if I can fix it to replace the
> %1 with
> the filename; I'll look into that.) How do you know your
> dbsvls.dll
> really is valid?
>
> Duncan Murdoch
>
>
>
>
>
> On Thu, May 26, 2011 at 8:41 PM, Duncan Murdoch
> <murdoch.duncan_at_gmail.com <mailto:murdoch.duncan_at_gmail.com>
> <mailto:murdoch.duncan_at_gmail.com <mailto:murdoch.duncan_at_gmail.com>>
> <mailto:murdoch.duncan_at_gmail.com <mailto:murdoch.duncan_at_gmail.com>
> <mailto:murdoch.duncan_at_gmail.com
> <mailto:murdoch.duncan_at_gmail.com>>>> wrote:
>
> On 11-05-26 4:53 PM, sivan aldor wrote:
>
> Hi Everyone,
> I am trying to work with a routine that is from
> the IMSL
> called
> BSVLS. I
> have the file as a .dll file.
> I have been trying to call the routine using
> the dyn.load
> function. I am
> working on a 32-bit windows 7 OS with 3 GB. For some
> reason i
> still keep
> getting the error message
>
> LoadLibrary %1 is not a valid Win32 application
>
> I looked at previous posting and they were all
> related
> to people
> trying to
> run dll files that was created under 64bit and
> not under
> 32bit.
> But I am
> running it on the correct settings.
>
> I have placed the .dll file in the BIN folder so
> R can
> find it.
>
> Any thoughts? ideas on how I should handle this?
>
>
> Why don't you tell us what you did?
>
> Duncan Murdoch
>
>
>
>
>
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 27 May 2011 - 01:49:30 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 27 May 2011 - 05:40:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive