Re: build C++ COM for 64-bit platform

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks Ben,


Good to learn from you again!


regards,
George

"Ben Voigt [C++ MVP]" wrote:


"George" <George@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A4104A61-1FC5-4216-8EC4-38CDDFA974B3@xxxxxxxxxxxxxxxx
Thanks Willy,


Your reply is very helpful. I want to check that when people mentioned
*x86*
it seems that it is for 32-bit only, and there is no x86-64bit, right?

And also when people mentioned *x64* it seems that it is for 64-bit only,
and there is no x64-32bit, right?

There are several names used interchangably (the minor differences aren't
important for user-mode Windows programs):

32-bit: x86, i386, i486, i586, i686
64-bit: AMD64, EM64T, x64, x86_64 <- this last one is potentially confusing



regards,
George

"Willy Denoyette [MVP]" wrote:

"George" <George@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0FA962E2-D310-49B1-BDF4-A72445864D62@xxxxxxxxxxxxxxxx
Hi Willy,


I have tried dumpbin. Here is result,

Do you mean this line indicate it is 32-bit? I do not have a 64-bit DLL
at
hand so I do not know what is the output for 64-bit DLL,

32 bit word machine

here is the total output

14C machine (x86)
3 number of sections
471755F1 time date stamp Thu Oct 18 20:47:45 2007
0 file pointer to symbol table
0 number of symbols
E0 size of optional header
210E characteristics
Executable
Line numbers stripped
Symbols stripped
32 bit word machine
DLL



This is a native 32bit module, as indicated by :
14C machine (x86)

A 64bit module includes this:
8664 machine (x64)

in the header.

Willy.





.



Relevant Pages

  • Re: build C++ COM for 64-bit platform
    ... 32 bit word machine ... here is the total output ... 14C machine (x86) ... E0 size of optional header ...
    (microsoft.public.dotnet.languages.vc)
  • Re: build C++ COM for 64-bit platform
    ... 32 bit word machine ... here is the total output ... 14C machine (x86) ... E0 size of optional header ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Skype for Solaris 10 X86
    ... Best regards, ... I've just sent a request, asking for SPARC support, but saying others would want Solaris x86 too. ...
    (comp.unix.solaris)
  • Re: [PATCH] irq: handle irq0 special only on x86
    ... Not sure if x86 is the only arch this test ... but if the semantic is OK I'm willing to rework it ... Best regards ...
    (Linux-Kernel)
  • Re: Embedded Platform
    ... But the thing is x86 is something that is ubiquitous. ... Its ARM based device designed by scientists at ... IISc Banglore. ... Thanks and Regards ...
    (comp.os.linux.embedded)