deatc
asked on
Cannot Create Simple 32-Bit COM Component on 64-Bit Windows
Hi. I have an ATL/MFC COM simple object written in Visual C++ 6.0. This COM object has a single method, Test(), that simply calls the MFC MessageBox() method to display a "hello world" message.
I am trying to use this COM object on 64-bit Windows 7. I put the file for this COM object, TestLibrary.dll, into the SysWOW64 folder and ran as an administrator the command "regsvr32 C:\Windows\SysWOW64\TestLi brary.dll" , which resulted in the following message: "DllRegisterServer in C:\Windows\SysWOW64\TestLi brary.dll succeeded." When I try to create the COM object, for example in Microsoft Excel, however, I get the following error message: "Run-time error '429': ActiveX component can't create object." Do you have any ideas as to why I cannot create the COM object on 64-bit Windows? It works flawlessly on 32-bit Windows.
Thank you.
I am trying to use this COM object on 64-bit Windows 7. I put the file for this COM object, TestLibrary.dll, into the SysWOW64 folder and ran as an administrator the command "regsvr32 C:\Windows\SysWOW64\TestLi
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.