if (!CHCNetSDK.NET_DVR_SetDVRConfig(m_lUserID, CHCNetSDK.NET_DVR_SET_PTZPOS, 1, ptrPtzCfg, (UInt32)nSize))
{
iLastErr = CHCNetSDK.NET_DVR_GetLastError();
str = "NET_DVR_SetDVRConfig failed, error code= " + iLastErr;
/设置POS参数失败
MessageBox.Show(str);
return;
} I used this command its always throwing me error code 11. This is from SDK preview Demo I can connect to camera, able to do Left,Right,Up,Down,ZoomIn,ZoomOut. But when i tried to use this command with passing same parameter which I am receiving from !CHCNetSDK.NET_DVR_GetDVRConfig(m_lUserID, CHCNetSDK.NET_DVR_GET_PTZPOS, -1, ptrPtzCfg, (UInt32)nSize, ref dwReturn) This get command. I am using Same SDK C# project what they provide from Site SDK
Let me know if someone know that's firmware version issue or any configuration will require for specific command please reply us.
{
iLastErr = CHCNetSDK.NET_DVR_GetLastError();
str = "NET_DVR_SetDVRConfig failed, error code= " + iLastErr;
/设置POS参数失败
MessageBox.Show(str);
return;
} I used this command its always throwing me error code 11. This is from SDK preview Demo I can connect to camera, able to do Left,Right,Up,Down,ZoomIn,ZoomOut. But when i tried to use this command with passing same parameter which I am receiving from !CHCNetSDK.NET_DVR_GetDVRConfig(m_lUserID, CHCNetSDK.NET_DVR_GET_PTZPOS, -1, ptrPtzCfg, (UInt32)nSize, ref dwReturn) This get command. I am using Same SDK C# project what they provide from Site SDK
Let me know if someone know that's firmware version issue or any configuration will require for specific command please reply us.