32bit or 64bit app - Programmer

This is a discussion on 32bit or 64bit app - Programmer ; Hi all, Is there a tool that I could use to find out if a binary (an exe) is a 32 bit or 64 bit application? Thanks, Viv...

+ Reply to Thread
Results 1 to 7 of 7

Thread: 32bit or 64bit app

  1. 32bit or 64bit app

    Hi all,

    Is there a tool that I could use to find out if a binary (an exe) is a
    32 bit or 64 bit application?

    Thanks,
    Viv

  2. Re: 32bit or 64bit app

    Hi Viviana!

    > Is there a tool that I could use to find out if a binary (an exe) is a
    > 32 bit or 64 bit application?


    You simply need to check the PE-Header:

    http://msdn.microsoft.com/library/de...header_str.asp

    "Machine" member:
    - IMAGE_FILE_MACHINE_I386
    - IMAGE_FILE_MACHINE_IA64
    - IMAGE_FILE_MACHINE_AMD64

    --
    Greetings
    Jochen

    My blog about Win32 and .NET
    http://blog.kalmbachnet.de/

  3. Re: 32bit or 64bit app

    In addition to Jochen's post, a very good article:

    http://msdn.microsoft.com/library/de..._peeringpe.asp

    --
    Scherbina Vladimir



  4. Re: 32bit or 64bit app

    Hi Scherbina!
    > In addition to Jochen's post, a very good article:
    >
    > http://msdn.microsoft.com/library/de..._peeringpe.asp


    The article is good... but it does not cover 64-bit ;-)

    --
    Greetings
    Jochen

    My blog about Win32 and .NET
    http://blog.kalmbachnet.de/

  5. Re: 32bit or 64bit app

    "Jochen Kalmbach [MVP]" wrote in message
    news:uL1Qxgc9FHA.500@TK2MSFTNGP15.phx.gbl...
    > Hi Scherbina!
    >> In addition to Jochen's post, a very good article:
    >>
    >> http://msdn.microsoft.com/library/de..._peeringpe.asp

    >
    > The article is good... but it does not cover 64-bit ;-)
    >
    > --
    > Greetings
    > Jochen
    >
    > My blog about Win32 and .NET
    > http://blog.kalmbachnet.de/


    Hello there, Jochen.

    it covers pe format

    --
    Scherbina Vladimir



  6. Re: 32bit or 64bit app

    Additionally XP resource kit have exetype.exe which do that
    Arkady

    "Scherbina Vladimir" wrote in message
    news:%230A%23rlc9FHA.3044@TK2MSFTNGP10.phx.gbl...
    > "Jochen Kalmbach [MVP]" wrote in
    > message news:uL1Qxgc9FHA.500@TK2MSFTNGP15.phx.gbl...
    >> Hi Scherbina!
    >>> In addition to Jochen's post, a very good article:
    >>>
    >>> http://msdn.microsoft.com/library/de..._peeringpe.asp

    >>
    >> The article is good... but it does not cover 64-bit ;-)
    >>
    >> --
    >> Greetings
    >> Jochen
    >>
    >> My blog about Win32 and .NET
    >> http://blog.kalmbachnet.de/

    >
    > Hello there, Jochen.
    >
    > it covers pe format
    >
    > --
    > Scherbina Vladimir
    >




  7. Re: 32bit or 64bit app

    Thanks all for the info.

    Viv

    On Wed, 30 Nov 2005 18:42:53 +0200, "Arkady Frenkel"
    wrote :

    >Additionally XP resource kit have exetype.exe which do that
    >Arkady
    >
    >"Scherbina Vladimir" wrote in message
    >news:%230A%23rlc9FHA.3044@TK2MSFTNGP10.phx.gbl...
    >> "Jochen Kalmbach [MVP]" wrote in
    >> message news:uL1Qxgc9FHA.500@TK2MSFTNGP15.phx.gbl...
    >>> Hi Scherbina!
    >>>> In addition to Jochen's post, a very good article:
    >>>>
    >>>> http://msdn.microsoft.com/library/de..._peeringpe.asp
    >>>
    >>> The article is good... but it does not cover 64-bit ;-)
    >>>
    >>> --
    >>> Greetings
    >>> Jochen
    >>>
    >>> My blog about Win32 and .NET
    >>> http://blog.kalmbachnet.de/

    >>
    >> Hello there, Jochen.
    >>
    >> it covers pe format
    >>
    >> --
    >> Scherbina Vladimir
    >>

    >



+ Reply to Thread