4

Question may sounds strange but I want to make this question clear.

Some people talk about 64 bit Active-X components 64 bit COM(ActiveX) server

while others claim there is no 64x COM implementation http://www.pcreview.co.uk/forums/64-bit-activex-vs-windows-forms-t3764967.html

Who is right? Can I implement 64-bit Active-X (dll COM server) ?

Community
  • 1
  • 1
Andrew Florko
  • 7,672
  • 10
  • 60
  • 107

2 Answers2

8

64-bit COM is alive and well on the 64-bit version of Windows. It wouldn't have Windows Explorer if COM was dead. And the many, many other Windows component that depend on COM. There's nothing in x64 code that could prevent COM from working.

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536
  • 2
    There does remain the constraint that 64-bit host processes cannot load 32-bit in-proc servers, and vice versa. In-proc servers must match the bitness of the host process. – Raymond Chen Sep 14 '11 at 19:08
  • That's not a COM specific constraint, doesn't work on regular DLLs either. – Hans Passant Sep 14 '11 at 19:18
  • True. I was just giving the original claim the benefit of the doubt and trying to come up with a way a true statement might be somehow misconstrued though a chain of whispers into what finally came out the other side. – Raymond Chen Sep 14 '11 at 23:54
1

You can write 64bit ActiveX controls for IE, but be aware they will only run in 64bit IE.

Also be aware 32bit IE is the default for users when they click the IE icon, even on 64bit Windows.

i_am_jorf
  • 53,608
  • 15
  • 131
  • 222
  • How do I run 64 bit activex control in IE? I have raised a question on same here: http://superuser.com/questions/1123971/running-64-bit-ie-tab-process-on-windows-7 If possible, can you answer the same? – Asha Oct 11 '16 at 12:02
  • Sorry man, I have no idea. It used to be simpler, but I got out of the browser plugin development business a long time ago so my knowledge is out of date. – i_am_jorf Oct 11 '16 at 21:18
  • Thanks for the reply.. will do some more searching :) – Asha Oct 12 '16 at 05:33