首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > PB >

关于的HHNET_LogonServer的有关问题.

2012-02-12 
关于的HHNET_LogonServer的问题...HHNET_StartupHH5PLAYER_InitSDKHH5PLAYER_SetDecoderQulityHH5PLAYER_I

关于的HHNET_LogonServer的问题...
HHNET_Startup
HH5PLAYER_InitSDK
HH5PLAYER_SetDecoderQulity
HH5PLAYER_InitPlayer2
HH5PLAYER_OpenStream
上面函数调用应该都成功了,返回0
可是执行HHNET_LogonServer返回998,失败了,这是为什么?

函数定义:
FUNCTION ulongHHNET_LogonServer(ref string pServerIP,uint wServerPort,ref string pDeviceName,ref string pUserName,ref string pUserPassword,ulong dwClientID,ref ulong hLogonServer, ulong hNotifyWindow) LIBRARY "HHNetClient.dll"

调用如下:
HHNET_LogonServer(pServerIP, wServerPort, pDeviceName, pUserName, pUserPassword, dwClientID, hLogonServer, hNotifyWindow)

请高手帮帮忙,谢谢!


[解决办法]
FUNCTION ulong HHNET_LogonServer(char pServerIP[128],uint wServerPort,string pDeviceName,string pUserName,string pUserPassword,ulong dwClientID,ref ulong hLogonServer, ulong hNotifyWindow) LIBRARY "HHNetClient.dll" alias for "HHNET_LogonServer;ansi"

热点排行