Method for registering 32-bit COM components in a 64-bit operating system on a computer

  
When registering a COM component in a 64-bit operating system, the registration is successful using the regsvr32 command, but the component fails to be created in the vbs file, indicating that the related component could not be found, Err .Munber=429. In the following, let Xiaobian explain to you in detail how to register 32-bit COM components in a 64-bit operating system.
64-bit system registration 32-bit COM component tutorial:

According to http://support.microsoft.com/kb/249873 tips: The 64-bit version is %systemroot%System32regsvr32.exe.The 32-bit version is %systemroot%SysWoW64regsvr32.exe. Looking at the 64-bit directory is a 32-bit program. When registering 32-bit COM components in a 64-bit system, you should use the regsvr32.exe command in the SysWoW64 directory. And the program that creates the component should be started with administrator privileges, otherwise there will not be enough permissions and the creation will still fail. However, it will still fail when creating a component in an asp file, even if IE is started with administrator privileges, Err.Munber=429. Here is the supplement of demon:
Take the old version of DynamicWrapperX as an example. This is a 32-bit COM component. If you register directly with the regsvr32 command, an error will pop up:
Modules“dynwrapx.dll”may be running with you The version of Windows is not compatible. Check if the module is compatible with the x86 (32-bit) or x64 (64-bit) version of regsvr32.exe.
Like wscript.exe, regsvr32.exe also has 32-bit and 64-bit versions. It is not possible to register 32-bit COM components with the 64-bit version of regsvr32.exe. Microsoft is really, can't you change your name? 64-bit called regsvr64 is not enough.
The correct way is to copy dynwrapx.dll to C:WindowsSysWOW64 and run C:WindowsSysWOW64regsvr32.exe to register, this will pop up:
DllRegisterServer in dynwrapx.dll has been successful.
The registration method for other 32-bit COM components is the same. By the way, the latest version of DynamicWrapperX is available in both 32 and 64 versions.
When everyone downloads the dll, if there is no 64-bit dll can use this method, try.


Copyright © Windows knowledge All Rights Reserved