From: Nobody on
I don't have a 64 Bit Windows version installed. Does anyone know if Notepad
that is included with Windows XP/Vista/2008/7 64-Bit editions is 32 or 64
Bits?

The reason I am asking is that I have developed a tool that fails if the
application that I try to automate is 64 bits, and Notepad is one of these
applications that this tool is used with. It works with 32 Bit application
only regardless of OS edition 32/64-Bits, but not with 64 Bits applications.

Thank you



From: Zootal on
"Nobody" <nobody(a)nobody.com> wrote in
news:uITnbQvoKHA.4836(a)TK2MSFTNGP05.phx.gbl:

> I don't have a 64 Bit Windows version installed. Does anyone know if
> Notepad that is included with Windows XP/Vista/2008/7 64-Bit editions
> is 32 or 64 Bits?
>
> The reason I am asking is that I have developed a tool that fails if
> the application that I try to automate is 64 bits, and Notepad is one
> of these applications that this tool is used with. It works with 32
> Bit application only regardless of OS edition 32/64-Bits, but not with
> 64 Bits applications.
>
> Thank you
>
>
>
>

notepad.exe in the windows directory is 64 bit, but the one in the system32
directory is 32 bit. If you can control which version of notepad is being
run, you could make sure you run the 32 bit version.
From: Charlie Russel - MVP on
Actually, no. The one in System32 is 64bit as well. But the one is
\windows\SysWOW64 is 32-bit. All the programs in \windows\system32 on an x64
system should be 64-bit. Only the ones in SysWOW64 should be 32-bit. (yeah,
right. I know that makes NO sense, but there it is.)

Of course, if you use a 32-bit tool to look at the \windows\system32
directory, all you'll actually see is the SysWOW64 directory, masquerading
as the system32 directory.

--
Charlie.
http://msmvps.com/blogs/russel




"Zootal" <nospam(a)spam.zootal.nospam.com> wrote in message
news:Xns9D11D007BC9A9nospamspamzootalnosp(a)216.196.97.131...
> "Nobody" <nobody(a)nobody.com> wrote in
> news:uITnbQvoKHA.4836(a)TK2MSFTNGP05.phx.gbl:
>
>> I don't have a 64 Bit Windows version installed. Does anyone know if
>> Notepad that is included with Windows XP/Vista/2008/7 64-Bit editions
>> is 32 or 64 Bits?
>>
>> The reason I am asking is that I have developed a tool that fails if
>> the application that I try to automate is 64 bits, and Notepad is one
>> of these applications that this tool is used with. It works with 32
>> Bit application only regardless of OS edition 32/64-Bits, but not with
>> 64 Bits applications.
>>
>> Thank you
>>
>>
>>
>>
>
> notepad.exe in the windows directory is 64 bit, but the one in the
> system32
> directory is 32 bit. If you can control which version of notepad is being
> run, you could make sure you run the 32 bit version.

From: Carlos on
Charlie,
Unless the 32-bit program uses this function:
http://msdn.microsoft.com/en-us/library/aa365743(VS.85).aspx
that will allow it access to the "real" system32 folder and not to syswow64.
To my knowledge, there is at least one 32-bit app that uses it successfully:
my best text mode shell ZTreeWin.
Carlos

"Charlie Russel - MVP" wrote:

> Actually, no. The one in System32 is 64bit as well. But the one is
> \windows\SysWOW64 is 32-bit. All the programs in \windows\system32 on an x64
> system should be 64-bit. Only the ones in SysWOW64 should be 32-bit. (yeah,
> right. I know that makes NO sense, but there it is.)
>
> Of course, if you use a 32-bit tool to look at the \windows\system32
> directory, all you'll actually see is the SysWOW64 directory, masquerading
> as the system32 directory.
>
> --
> Charlie.
> http://msmvps.com/blogs/russel
>
>
>
>
> "Zootal" <nospam(a)spam.zootal.nospam.com> wrote in message
> news:Xns9D11D007BC9A9nospamspamzootalnosp(a)216.196.97.131...
> > "Nobody" <nobody(a)nobody.com> wrote in
> > news:uITnbQvoKHA.4836(a)TK2MSFTNGP05.phx.gbl:
> >
> >> I don't have a 64 Bit Windows version installed. Does anyone know if
> >> Notepad that is included with Windows XP/Vista/2008/7 64-Bit editions
> >> is 32 or 64 Bits?
> >>
> >> The reason I am asking is that I have developed a tool that fails if
> >> the application that I try to automate is 64 bits, and Notepad is one
> >> of these applications that this tool is used with. It works with 32
> >> Bit application only regardless of OS edition 32/64-Bits, but not with
> >> 64 Bits applications.
> >>
> >> Thank you
> >>
> >>
> >>
> >>
> >
> > notepad.exe in the windows directory is 64 bit, but the one in the
> > system32
> > directory is 32 bit. If you can control which version of notepad is being
> > run, you could make sure you run the 32 bit version.
>
> .
>
From: R. C. White on
Hi, Zootal.

Are you sure about those two versions of Notepad.exe?

My computer (Win7 Ultimate x64) shows THREE copies of Notepad.exe in the
Windows folder tree:

C:\Windows\Notepad.exe 7/13/09
7:39 PM 193,536 bytes
C:\Windows\System32\Notepad.exe 7/13/09 7:39 PM
193,536 bytes
C:\Windows\SysWOW64\Notepad.exe 7/13/09 7:14 PM
179,712 bytes

I don't understand the differences. On their Properties | Details page,
they all say:
File version: 6.1.7600.16385

Except for the size and the slight difference in the time stamp, they appear
identical to me. But I'm no techie and I don't begin to understand
SysWOW64.

RC
--
R. C. White, CPA
San Marcos, TX
rc(a)grandecom.net
Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8089.0726) in Win7 Ultimate x64

"Zootal" <nospam(a)spam.zootal.nospam.com> wrote in message
news:Xns9D11D007BC9A9nospamspamzootalnosp(a)216.196.97.131...
> "Nobody" <nobody(a)nobody.com> wrote in
> news:uITnbQvoKHA.4836(a)TK2MSFTNGP05.phx.gbl:
>
>> I don't have a 64 Bit Windows version installed. Does anyone know if
>> Notepad that is included with Windows XP/Vista/2008/7 64-Bit editions
>> is 32 or 64 Bits?
>>
>> The reason I am asking is that I have developed a tool that fails if
>> the application that I try to automate is 64 bits, and Notepad is one
>> of these applications that this tool is used with. It works with 32
>> Bit application only regardless of OS edition 32/64-Bits, but not with
>> 64 Bits applications.
>>
>> Thank you
>>
>>
>
> notepad.exe in the windows directory is 64 bit, but the one in the
> system32
> directory is 32 bit. If you can control which version of notepad is being
> run, you could make sure you run the 32 bit version.