32-bit の DLL COM オブジェクトが 64-bit 版 MATLAB 上で使用できないのはなぜですか?
4 views (last 30 days)
Show older comments
32-bit の DLL COM オブジェクトは 32-bit 版 MATLAB 上で使用することはできます。
a = actxserver('MSOSOAP.HttpConnector30')
a =
COM.MSOSOAP_HttpConnector30
しかし、64-bit 版 MATLAB 上では使用することができません。
b = actxserver('MSOSOAP.HttpConnector30')
上記を実行すると以下のエラーとなります。
ERROR: ??? Server Creation Failed: Class not registered
Accepted Answer
MathWorks Support Team
on 30 Dec 2021
Edited: MathWorks Support Team
on 30 Dec 2021
MATLAB 7.6 (R2008a) のドキュメンテーションにて関連する情報が更新されています。MATLAB 7.6 (R2008a) 以前のバージョンをご利用の場合、以下の対応方法で問題を回避できる場合があります。
Microsoft 社では 32-bit DLL または In-Process (InProc) COM サーバー の 64-bit アプリケーションへのロードをサポートしていません。詳細については以下の MSDN ドキュメントをご覧ください。
この制約は EXE ファイルとなっている COM オートメーションサーバーには適用されません。これらのサーバーは動作することができます。
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!