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')
However, when I attempt the same in 64-bit MATLAB:
COM.MSOSOAP_HttpConnector30
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: |
|
|
Store