一段Dll函数的申明,帮改成VB的。 ( 积分: 300 )

  • 主题发起人 主题发起人 LeeChange
  • 开始时间 开始时间
L

LeeChange

Unregistered / Unconfirmed
GUEST, unregistred user!
type
PChannelInfo = ^TChannelInfo;
TChannelInfo = record
IP: PChar;
ChannelNo: Byte;
Name: PChar
end;

function Init(Handle: THandle): Boolean;
stdcall;
external 'MatrixSDK.dll';
function DeInit: Boolean;
stdcall;
external 'MatrixSDK.dll';
function ClientStart(Handle: THandle;
IP: PChar;
ChannelNo: Byte): LongInt;
stdcall;
external 'MatrixSDK.dll';
function ClientStop(Port: LongInt): Boolean;
stdcall;
external 'MatrixSDK.dll';
function GetChannelNum(ServerIP: PChar): Integer;
stdcall;
external 'MatrixSDK.dll';
function GetChannelInfo(ServerIP: PChar;
Index: Integer;
ChannelInfo: PChannelInfo): Boolean;
stdcall;
external 'MatrixSDK.dll';
 
呵呵,没想到老大的DLL竟然也叫 Matrix ![:D]
我顶~ :)
 
vb没搞过,帮忙顶
 

Similar threads

I
回复
0
查看
486
import
I
I
回复
0
查看
616
import
I
I
回复
0
查看
562
import
I
I
回复
0
查看
578
import
I
I
回复
0
查看
1K
import
I
后退
顶部