Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Industries Academia Support User Community Company

Technical Solutions

Why am I not able to use 32-bit DLL COM Objects in 64-bit MATLAB 7.3 (R2006b)?


Date Last Modified: 08 Sep 2008
Solution ID:   1-35LZ4G
Product:   MATLAB
Reported in Release:   R2006b
Fixed in Release:  
Platform:   Windows x64
Operating System:   Windows XP x64
 

Subject:

Why am I not able to use 32-bit DLL COM Objects in 64-bit MATLAB 7.3 (R2006b)?

Problem Description:

I can instantiate a 32-bit COM DLL-file as an In-Process (InProc) ActiveX Server in 32-bit MATLAB:
a = actxserver('MSOSOAP.HttpConnector30')


COM.MSOSOAP_HttpConnector30
However, when I attempt the same in 64-bit MATLAB:
b = actxserver('MSOSOAP.HttpConnector30')
I receive the following error:
??? Server Creation Failed: Class not registered

Solution:

Microsoft does not support loading 32-bit DLLs or In-Process (InProc) COM Servers into a 64-bit application, or vice-versa. For more information, consult Microsoft references, such as this one for the .NET Framework:
http://msdn.microsoft.com/en-us/netframework/aa569597.aspx

This limitation does not apply to COM Automation servers that are EXE-files (Excel, 32-bit MATLAB) or OCX-files (ActiveX Controls such as MWSAMP). These servers will work as expected.

  Provide feedback to help us improve this solution!
Contact support
E-mail this page
Print this page