C++做的DLL中定义的
结构体
typedef struct Info
{
TWORD64 hello;
char goood[50];
TWORD32 yes;
char why[50];
char what[100];
}Info;typedef struct myInfomation
{
TWORD8 x1;
TWORD64 x2;
Info MyArray[24];
}myInfo;接口函数
Write(HANDLE hero,long *yes,myInfo *thisinfo);
very(HANDLE hero,__int64 myid,char *bufer);这几个在VB中调用这个C++做的dll,对应的数据类型是怎么样的?
比如调用Write的声明是不是这样
Public Declare Function Write Lib "Make.dll" (ByVal hero As Integer, ByRef yes As Long, ByRef this As myInfo) As Integer
谢谢!
结构体
typedef struct Info
{
TWORD64 hello;
char goood[50];
TWORD32 yes;
char why[50];
char what[100];
}Info;typedef struct myInfomation
{
TWORD8 x1;
TWORD64 x2;
Info MyArray[24];
}myInfo;接口函数
Write(HANDLE hero,long *yes,myInfo *thisinfo);
very(HANDLE hero,__int64 myid,char *bufer);这几个在VB中调用这个C++做的dll,对应的数据类型是怎么样的?
比如调用Write的声明是不是这样
Public Declare Function Write Lib "Make.dll" (ByVal hero As Integer, ByRef yes As Long, ByRef this As myInfo) As Integer
谢谢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货