Jump to content
Compatible Support Forums

viral217

Members
  • Content count

    2
  • Joined

  • Last visited

    Never

Everything posted by viral217

  1. Folks, I am looking for a utility or a method using which i can identify whether an executeable is built for 32 bit or 64 bit. For example: In unix, 'file <exe-name>' would tell me whether the exe is a 32 bit one or a 64 bit. Is there any such utility for Windows? I am currently porting a software from 32 bit to a 64 bit architecture and would like to know where it was originally built. Thanks in advance, viral.
  2. Hi World, I am getting "fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'AMD64'" when trying to link some libraries compiled on AMD64 architecture. The OS is Win Server 2003. I am compiling and linking from the command line and I have made sure that I am using the cl.exe and link.exe of the platform SDK (PSDK). In the PATH, LIB and INCLUDE environment variables I have the PSDK folders first and later Visual Studio .Net 2003. I am also using WIN64 definition (/D"WIN64") when producing .obj from .c. I puzzled because i am unable to locate the place in which it is getting module machine type as 'X86'. Any suggestions would be of great help. TIA. ~viral
×