海康威视 MP4_ServerStart 启动服务端False! ( 积分: 50 )

  • 主题发起人 主题发起人 qiujiwei8
  • 开始时间 开始时间
Q

qiujiwei8

Unregistered / Unconfirmed
GUEST, unregistred user!
定义结构如下:
type SERVER_VIDEOINFO=packed record
m_datatype: array[1..64] of BYTE;
m_channum:BYTE;
m_waittime:DWORD;
m_bufnum:DWORD;
end;
PSERVER_VIDEOINFO=^SERVER_VIDEOINFO;
VideoInfo=SERVER_VIDEOINFO;
声明:
function MP4_ServerStart(pServerVideoInfo:VideoInfo):Boolean;stdcall;external 'HikServer.dll';
调用:
procedure TFrmMain.btnStartServerClick(Sender: TObject);
var
VideoInfo:SERVER_VIDEOINFO;
begin
if MP4_ServerStart(VideoInfo) then
ShowMessage('Starting Server is Successfull!')
else
ShowMessage('Starting Server is Fail!');
end;
请问是什么原因!请各位大帮帮忙!
联系方式:
QQ:303580772
邮箱:qiujiwei8@126.com
 
后退
顶部