首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VB >

求转vc转向vb

2012-07-23 
求转vc转为vbstruct ipc_info{struct ipc_info* nextunion{unsigned charip[4]//IPv4unsigned longlongI

求转vc转为vb
struct ipc_info{
  struct ipc_info* next;
  union{
  unsigned char ip[4]; //IPv4
  unsigned long longIP; //IPv6
  };
  union{
  unsigned char mac[8]; //mac
  LONGLONG longMac;
  };
  int adapterIndex;
};
typedef struct ipc_info IPCINFO;

[解决办法]

VB code
Public Type IPCINFO next as Long ip(0 to 3) as Byte mac(0 to 7) as Byte adapterIndex as LongEnd Type 

热点排行