c#操作海康相机报错Enumerate devices fail!
int nRet = MyCamera.MV_CC_EnumDevices_NET(MyCamera.MV_GIGE_DEVICE | MyCamera.MV_USB_DEVICE, ref m_stDeviceList);
if (0 != nRet)
{
ShowErrorMsg("Enumerate devices fail!", 0);
return false;
}//GEV: Hikrobot MV-CA
vs2019 ,调试-》调试属性-》生成-》目标平台,x64即可
欢迎讨论,相互学习。
cdtxw@foxmail.com