i have a problem with my program. I'm using Aforge for the video stream, ZXing for the qr code decoding part, c# and windows forms.

I have set up, in the initialize function, the event handler for each frame:

[videoSource.New Frame += new NewFrameEventHa ndler(video_New Frame);

In the video_newFrame i have all the code i need in my application: it takes the frame, compute it, find the QR code, decode it,...