level 8
袁植振
楼主
C++中声明API接口如下
CUSTOM_API double __stdcall Max(double *a,int b); //声明API接口
CUSTOM_API double __stdcall Min(double *a,int b);//声明API接口
CUSTOM_API bool __stdcall nnn(int pa,int ex ,int* a0 ,int*& a,int& outnum);//声明API接口
下面VB.NET 静态调用该怎么写?这样写会卡住
Private Declare Function nnn Lib "qwe.dll" (ByVal pa As IntPtr, ByVal ex As IntPtr, ByVal a0 As Long, ByVal a As Long, ByVal outnum As IntPtr) As Long
2014年04月10日 21点04分
1
CUSTOM_API double __stdcall Max(double *a,int b); //声明API接口
CUSTOM_API double __stdcall Min(double *a,int b);//声明API接口
CUSTOM_API bool __stdcall nnn(int pa,int ex ,int* a0 ,int*& a,int& outnum);//声明API接口
下面VB.NET 静态调用该怎么写?这样写会卡住
Private Declare Function nnn Lib "qwe.dll" (ByVal pa As IntPtr, ByVal ex As IntPtr, ByVal a0 As Long, ByVal a As Long, ByVal outnum As IntPtr) As Long