login about faq

Hello all,

I have registered 32 and 64 bit versions of chilkat ActiveX components on Windows Server 2012 but apparently the GUID is the exact same (004CB902-F437-4D01-BD85-9E18836DA5C2) for both versions and I have problems to run my applications, if I register 64 bit version my 32 bit apps raise errors because they can't create the objects and if I register the 32 bit version then my 64 bit apps raise errors. Is there a workaround to this issue so as I can run on the same server 32 and 64 bit apps that create and use chilkat objects?

Thank you in advance.

asked Apr 12 at 16:00

JonesT's gravatar image

JonesT
1

edited Apr 13 at 08:05

jpbro's gravatar image

jpbro ♦
1.1k2618


I haven't tried it yet. But you may be able to use a Manifest file to have one of the two architectures not require the Windows Registry entries.

link

answered Apr 12 at 18:27

TracyP's gravatar image

TracyP
1213

There's really no issue at all. Windows has separate 32-bit and 64-bit registries. A 32-bit ActiveX is registered in the 32-bit registry, and the 64-bit ActiveX is registered in the 64-bit registry.

When a 32-bit program is running, it only sees the 32-bit registry. When a 64-bit program runs, it only sees the 64-bit registry. Thus, the two can never collide and it's perfectly normal and OK for the GUID's to be the same.

link

answered Apr 12 at 18:38

chilkat's gravatar image

chilkat ♦♦
12.5k317361456

For example, if you look at the registration .bat scripts that run regsvr32, you'll see that the script that registers the 32-bit DLL on a 64-bit system runs "%systemroot%\syswow64\regsvr32". This is the 32-bit regsvr32 (which is confusing because the "syswow64" makes you think 64-bit, but it's really the 32-bit version of regsvr32), whereas the script that registers the 64-bit DLL just runs "regsvr32", which is the default 64-bit regsvr32.

In the one case, regsvr32 is running as a 64-bit process and thus sees the 64-bit registry.

In the other case, syswow64\regsvr32 is running as a 32-bit process and thus sees the 32-bit registry.

link

answered Apr 12 at 18:47

chilkat's gravatar image

chilkat ♦♦
12.5k317361456

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4

Asked: Apr 12 at 16:00

Seen: 331 times

Last updated: Apr 13 at 08:05

powered by OSQA