i have a 32 com library and would like to use its functionality by a 64 bits application , i 've searched on the internet and managed to get this workaround
- Locate your COM object GUID under the
HKey_Classes_Root\Wow6432Node\CLSID\[GUID]
- Once located add a new
REG_SZ (string)
Value. Name should be AppID and data should be the same COM object GUID you have just searched for - Add a new key under
HKey_Classes_Root\Wow6432Node\AppID\
- The new key should be called the same as the com object GUID
- Under the new key you just added, add a new
REG_SZ (string)
Value, and call it DllSurrogate. Leave the value empty - Create a new Key under
HKey_Local_Machine\Software\Classes\AppID\
but it does not work on Windows 7 64 bits , the main problem is when i do the step 6 i found the key already existed, any body knows why ? or how can i overcome it ?
the documentation here is very brief