Home > Net >  Aforge.net video input errors led to a spill from an arithmetic operation
Aforge.net video input errors led to a spill from an arithmetic operation

Time:09-30

The following code:
Private void OnTimedEvent1 (object sender, MicroTimerEventArgs timerEventArgs)
{
If (write_open)
{
Try

{
The lock (bmp1) {

Writer. AddFrame (bmp1);
}

}
The catch (Exception ex)
{
Writelog. Write the log=new Writelog. Write ();
The LogWrite (this Text + "[error writing video news]" + ex + ", write status to: "+ write_open);
}
}
}
Writer. AddFrame (bmp1); This code hinting to calculate operation led to a spill have encountered a similar situation,

CodePudding user response:

When the mistakes, video writing, for a period of time after the program is run
, appear this problem

CodePudding user response:

AddFrame I don't know what is it...

I guess whether have a timer has been set of read write and then inserted into the database?


The problem is oracle.. May I see your SQL to throw out your

CodePudding user response:

Is written to the Video, this is called a AForge. Video. VFW component method,,,, no SLQ statements
  •  Tags:  
  • C#
  • Related