IDL/ODL 看起来复杂,其实语法与C++很相似
被微软用做接口语言出发点IDL变量是开放软件
基金会最初为分布式计算机环境(DCE)规定的RPC IDL。
只要你多观察,很容易掌握的。
IDL C++
struct struct
enum enum
typedef typedef
interface class
import #include
coclass 没有
dispinterface 相当于class
library
数据类型你可以用任何数据类型,包括你自己定义的。
被微软用做接口语言出发点IDL变量是开放软件
基金会最初为分布式计算机环境(DCE)规定的RPC IDL。
只要你多观察,很容易掌握的。
IDL C++
struct struct
enum enum
typedef typedef
interface class
import #include
coclass 没有
dispinterface 相当于class
library
数据类型你可以用任何数据类型,包括你自己定义的。
有关于数组的详细的资料吗?什么 [first_is], [last_is], [length_is], [max_is], [size_is]我都不懂。
烦请多多指教。 谢谢
但在VC的帮助里有很详细的资料。
[first_is]等是数组的修饰用语。
这些修饰用语告诉COM系统如何
编排(marshing)参数,比如数组
大小等。
这些修饰用语的使用有一定规则
VC的帮助讲的很详细。还有很多
example.