Why do I receive the error message: "error MIDL2025 : syntax error : expecting a type specification near "CY" " when using the MATLAB COM Builder?
16 ビュー (過去 30 日間)
古いコメントを表示
I get the following error message when building with the MATLAB COM Builder:
C:/Program Files/Microsoft Visual Studio/VC98/INCLUDE/ocidl.idl(847)
: error MIDL2025 : syntax error : expecting a type specification near "CY"
C:/Program Files/Microsoft Visual Studio/VC98/INCLUDE/ocidl.idl(848)
: error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation
MBUILD.BAT: Error: IDL compile of 'D:/MATLAB6p5/work/magicdemo/src/magicdemo_idl.idl' failed.
採用された回答
MathWorks Support Team
2009 年 6 月 27 日
This error is due to a bug in the Microsoft MIDL.exe compiler that Visual Studio uses. You can resolve the problem by changing your regional settings to English.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!