Re: 32/64-bit ActiveX controls
"Alex Ivanoff" <AlexIvanoff@discussions.microsoft.com> wrote in message
news:F3DEC13F-4606-4A6A-8B74-4982D808F501@microsoft.com...
Ok. I need to create an ActiveX control for IE 32 and IE 64. I understand
I
need two different builds: x86 and x64. Can I use the same ids on both
builds? How should html look like to load correct control based on the
bitness of IE?
"Egbert Nierop (MVP for IIS)" wrote:
"Alex Ivanoff" <AlexIvanoff@discussions.microsoft.com> wrote in message
news:6ED874E0-3D43-4139-9A82-9D217C5E42F5@microsoft.com...
Can someone give me more details? Perhaps with smaples?
Just recompile your ActiveX Control in Visual Studio (or msbuild).
What exactly would you like to be sampled?
I have a sample, which is compiled twice.
http://technolog.nl/eprogrammer/archive/2006/03/17/447.aspx
Hi Alex,
I have Windows x64 so can easily test it.
The design behind X64 is that we programmers, hardly have to change code,
but _only_ recompile.
So I restate, recompile only.
If you would download my samples, and compile it, you'll find there's no
difference.
Windows x64 is that smart, that it redirects registry keys.
(from my samples, that you could download)
(32-bit stuff on x64 windows)
AL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{59830648-8E40-41D8-A37B-DCCB2885C98F}
(64-bit stuff on x64 windows)
HKEY_CLASSES_ROOT\CLSID\{59830648-8E40-41D8-A37B-DCCB2885C98F}
As you can see, all specific info, is redirected. While the HKCR is not
redirected, the CLSID tree, is.
So. You HTML does not -need- to be different!