简体   繁体   English

在Win32上编译IDL文件时出现Midl错误2025(midl不喜欢string <40>)

[英]midl error 2025 when compiling idl file on win32 (midl doesn't like string<40>)

The idl files I have compile fine with linux tools, but when I try to compile using midl I get an error 我可以使用Linux工具很好地编译idl文件,但是当我尝试使用midl进行编译时,出现错误

error MIDL2025 : syntax error : expecting a declarator or * near "<"

the line is: 该行是:

typedef string<40>      somestring;

Is this non-standard idl, or am I missing something? 这是非标准的IDL,还是我缺少什么? Is there a switch for midl to allow this? midl是否有开关允许这样做?

I wish I could set the bounty on this sooner... 我希望我能早些赏金。

My mistake. 我的错。 It is ACE/TAO specific. 它是ACE / TAO特定的。 there is a tao_idl.exe idl compiler/processor. 有tao_idl.exe idl编译器/处理器。 I will tag this question with ACE TAO 我将用ACE TAO标记此问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM