求DELPHI转换成VB.NET
//读卡
function Read_Guest_Card(Port, ReaderType, SectorNo: Byte; HotelPwd: PChar; var CardNo, GuestSN, GuestIdx: Integer; DoorID, SuitDoor, PubDoor, BeginTime,
EndTime: PChar): Integer; stdcall; far; external 'btlock57L.dll';
//写卡
function Write_Guest_Card (Port, ReaderType, SectorNo: Byte; HotelPwd: PChar; CardNo, GuestSN, GuestIdx: Integer; DoorID, SuitDoor, PubDoor, BeginTime,
EndTime: PChar): Integer; stdcall; far; external 'btlock57L.dll';
必达门锁接口函数DELPHI7版本,关于PChar指针,在VB.NET中函数该怎么写。
测试通过红包酬谢!!!