OK, this might be a wierd question, but I just want to satisfy my
curiosity:

I have a 32-bit executable (c++ compiled on 32-bit windows).
The executable is sitting in a shared folder on a 64-bit machine.
When I try to run the executable on a 32-bit machine from the share, I
get an error.
But if I copy it to the 32-bit machine, then run it, it works fine.

Can anyone explain to me why it won't run from the 64-bit share?

Re: Run 32-bit Executable from 64-bit Shared Folder by jceddy

jceddy
Fri Oct 13 14:52:17 CDT 2006

Turns out it is a C# application (.NET Framework 2.0), if that makes
any difference...

jceddy wrote:
> OK, this might be a wierd question, but I just want to satisfy my
> curiosity:
>
> I have a 32-bit executable (c++ compiled on 32-bit windows).
> The executable is sitting in a shared folder on a 64-bit machine.
> When I try to run the executable on a 32-bit machine from the share, I
> get an error.
> But if I copy it to the 32-bit machine, then run it, it works fine.
>
> Can anyone explain to me why it won't run from the 64-bit share?


Re: Run 32-bit Executable from 64-bit Shared Folder by Charlie

Charlie
Fri Oct 13 16:38:13 CDT 2006

There is absolutely nothing that cares whether the share is from a 64bit
machine or a 32-bit machine. But there can be lots of reasons why ANY
executable will decline to run off a remote share.

--
Charlie.
http://msmvps.com/xperts64


"jceddy" <jceddy@gmail.com> wrote in message
news:1160769128.900429.153410@f16g2000cwb.googlegroups.com...
> Turns out it is a C# application (.NET Framework 2.0), if that makes
> any difference...
>
> jceddy wrote:
>> OK, this might be a wierd question, but I just want to satisfy my
>> curiosity:
>>
>> I have a 32-bit executable (c++ compiled on 32-bit windows).
>> The executable is sitting in a shared folder on a 64-bit machine.
>> When I try to run the executable on a 32-bit machine from the share, I
>> get an error.
>> But if I copy it to the 32-bit machine, then run it, it works fine.
>>
>> Can anyone explain to me why it won't run from the 64-bit share?
>


Re: Run 32-bit Executable from 64-bit Shared Folder by Tim

Tim
Fri Oct 13 17:23:44 CDT 2006

If you have hard coded paths (system32 or programfiles) you could have a
problem. Without knowing what the program is tryoing to do or why it fails
it is hard to tell

"jceddy" <jceddy@gmail.com> wrote in message
news:1160769128.900429.153410@f16g2000cwb.googlegroups.com...
> Turns out it is a C# application (.NET Framework 2.0), if that makes
> any difference...
>
> jceddy wrote:
>> OK, this might be a wierd question, but I just want to satisfy my
>> curiosity:
>>
>> I have a 32-bit executable (c++ compiled on 32-bit windows).
>> The executable is sitting in a shared folder on a 64-bit machine.
>> When I try to run the executable on a 32-bit machine from the share, I
>> get an error.
>> But if I copy it to the 32-bit machine, then run it, it works fine.
>>
>> Can anyone explain to me why it won't run from the 64-bit share?
>



Re: Run 32-bit Executable from 64-bit Shared Folder by Darrellg

Darrellg
Fri Oct 13 19:01:00 CDT 2006

Hello,
Correct A share doesn't care whether it's 32-bit or 64-bit.
Knowing the error what happens when the exe fails would be interesting.
One thing that comes to mind however is that when I launch and exe from a
folder the search path always starts with the path that the exe resides in
By copying it local you change the search path of the executable, but that
has nothing to do with the bitness of the application
Thanks,
Darrell Gorter[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
<From: "Charlie Russel - MVP" <charlie@mvKILLALLSPAMMERSps.org>
<References: <1160768653.310123.124110@f16g2000cwb.googlegroups.com>
<1160769128.900429.153410@f16g2000cwb.googlegroups.com>
<In-Reply-To: <1160769128.900429.153410@f16g2000cwb.googlegroups.com>
<Subject: Re: Run 32-bit Executable from 64-bit Shared Folder
<Date: Fri, 13 Oct 2006 14:38:13 -0700
<Lines: 27
<Message-ID: <B6CEC0E0-B84E-4175-B1C0-F4D69AC0C1C7@microsoft.com>
<MIME-Version: 1.0
<Content-Type: text/plain;
< format=flowed;
< charset="iso-8859-1";
< reply-type=original
<Content-Transfer-Encoding: 7bit
<X-Priority: 3
<X-MSMail-Priority: Normal
<X-Newsreader: Microsoft Windows Mail 6.0.5744.16384
<X-MimeOLE: Produced By Microsoft MimeOLE V6.0.5744.16384
<X-MS-CommunityGroup-PostID: {B6CEC0E0-B84E-4175-B1C0-F4D69AC0C1C7}
<X-MS-CommunityGroup-ThreadID: 16F97808-D66E-442F-9ABD-5CE80A1D9E5A
<X-MS-CommunityGroup-ParentID: 8E930EBD-9630-440A-B5F3-273523806DFC
<Newsgroups: microsoft.public.windows.64bit.general
<Path: TK2MSFTNGXA01.phx.gbl
<Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:41204
<NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 127.0.0.1
<X-Tomcat-NG: microsoft.public.windows.64bit.general
<
<There is absolutely nothing that cares whether the share is from a 64bit
<machine or a 32-bit machine. But there can be lots of reasons why ANY
<executable will decline to run off a remote share.
<
<--
<Charlie.
<http://msmvps.com/xperts64
<
<
<"jceddy" <jceddy@gmail.com> wrote in message
<news:1160769128.900429.153410@f16g2000cwb.googlegroups.com...
<> Turns out it is a C# application (.NET Framework 2.0), if that makes
<> any difference...
<>
<> jceddy wrote:
<>> OK, this might be a wierd question, but I just want to satisfy my
<>> curiosity:
<>>
<>> I have a 32-bit executable (c++ compiled on 32-bit windows).
<>> The executable is sitting in a shared folder on a 64-bit machine.
<>> When I try to run the executable on a 32-bit machine from the share, I
<>> get an error.
<>> But if I copy it to the 32-bit machine, then run it, it works fine.
<>>
<>> Can anyone explain to me why it won't run from the 64-bit share?
<>
<
<