比如
//public.idl file
typedef
[
uuid(D124B04A-C5F9-4a16-9671-1E67B75DB1A1),
helpstring("NetWork Node Struct")
]struct Line
{
long id;//id号
BOOL Power;//有电标志
BSTR LineName;//线路名称
long StaPoint_x;//起点x
long StaPoint_y;//起点y
long EndPoint_x;//终点x
long EndPoint_y;//终点y
short EndType;//1 负荷 2 电源 0 其它
long Longth;
BOOL ShCirFlag;//短路标志
}Line;
//file end因为public.idl没有类型库library 语句定义类型库(所以无法生成类型库和.h文件), 别的idl好像无法包含或者导入public.idl是不是我设置有什么问题呢? 谢谢!