Page 1 of 1

64 Bit Regasm does not work

Posted: Thu Feb 05, 2009 10:28 am
by Ton_B
In my setup I use Regasm.exe to register Com interop services.
On Both a 32 and 64 bits machine this works fine.

But inside my setup I check if the registrtaion has been done correctly by checking if the correct CLSID has been made inside the regisrty.

At a 32 bits machine the result of the registry check is correct , but on a 64 bits machine i receive a NO$KEY value.

What's wrong ?
Why can't I check the regisrty value on a 64 bits machine ???

Posted: Thu Feb 05, 2009 10:32 am
by MichaelNesmith
Are you setting the correct 64 bit mode before calling Read Registry?

Posted: Thu Feb 05, 2009 10:59 am
by Ton_B
No I have not :|
I will implement that, but is there a way to determan if the current machine is running under 32 or 64 bit's mode ?
And if so,
I see you can select 2 types of 64 bits modes: Itanium and x64

Posted: Thu Feb 05, 2009 11:10 am
by Ton_B
I've found it !!

Thanx

Posted: Thu Feb 05, 2009 11:17 am
by MichaelNesmith
Glad to hear you've found it!

You can forget about Itanium, its Intel's old, dead, unsuccessful architecture which got nuked by AMD64 and later got cloned in Intel's EM64T - this is what x64 is and this is what you want.