windows - Is it right or wrong to register 32bit local server in 64bit registry part? -


a com object implemented 32bit local server (.exe) registering on 64bit windows gets redirected wow64 default (http://msdn.microsoft.com/en-us/library/aa384253.aspx). when client requests instance, system search in both parts, unless explicit context flags set (clsctx_activate_##_bit_server).

therefore possible use 32bit com addins (implemented local server) ms office 2010 64bit. requires write mso specific registry keys 64bit part (key_wow64_64key).

since ms office 2013 64bit com objects registered in 64bit registry part loaded, possibly because explicitly requests 64bit servers only. there seems no reason restriction. change between 2010 , 2013 made accidentally or intentionally?

registering 32bit local server 64bit part solves problem, conform rules? may 32bit local server registered in 64bit part or must in redirected 32bit part? disregard client's intent or way signal compatibilty 64bit clients?

as far understand, mso 2013 not want support 32bit addins although technically possibly.

edit (to more precise): i'm not asking if works (i know does). i'm not interested in tricks make things work not intended to. lead me question com objects (local server, aka out-of-process server) should registered in 64bit part: implemented in 64bit or can used 64bit clients (even if implemented in 32bit)?

edit (to more general): although question refers mso client intantiating com object, can asked more generally. think of application providing automation, implemented 32bit exe. default it's self registration gets redirected wow6432node, that's no problem. when client requests instance, found system anyway (unless client restricts 64bit servers only). therefore it's not necessary register 64bit part too, wrong (for 32bit exe)? mean, consequences? there rules, recommendations, ...?

it's ok register 64-bit proxy dll in 64-bit registry.

just don't register 32-bit proxy dll in 64-bit registry.


Comments

Popular posts from this blog

php - Add the correct number of days for each month -

java.util.scanner - How to read and add only numbers to array from a text file -