Home > Back-end >  MFC multithreading 0 xc0000005 problems
MFC multithreading 0 xc0000005 problems

Time:09-26

1 detection module

2 a multithreaded open


In hai kang camera + MFC, among them, pre_defog is a global variable, video data read from the sea, to the global variable pre_defog, because four video channel, considering the time delay problem, so use the multithreading, in a multithreaded pre_defog loop to read, but in this line

Mat=Defog. Defog (pre_defog, 10);

Met: 0 x00007ff8eda19a9d (XXX. Exe) caused by abnormal: 0 xc0000005: when writing position 0 x00000000ced889f8 access conflict, the debug no clue, and the problem appeared again, sometimes don't appear, don't know how to solve,,,, hope everybody who hire,
  • Related