好麻烦
int OnReviceResponse_CameraVideoServer(int connect, const char * buf, int len)
{
__try
{
OnReviceResponse_CameraVideoServer2(connect, buf, len);
}
__except(EXCEPTION_EXECUTE_HANDLER){ //EXCEPTION_CONTINUE_EXECUTION
puts( "in except ");
}
return 0;
}
听说 "把结构化异常关了也可以用try/catch (就是关了/EHsc这个编译flag)"