well i already resolve the problem, i did a try catch in the error line, if the error is been catch i return the function so the system would continue working normally.
i have my last question i have a timer tick for every 500ms and do something,
if the process take more than 500ms, the...
i got this:
this is from the MSDN
Remarks
The file remains locked until the Image object is disposed.
If the file does not have a valid image format or if GDI+ does not support the pixel format of the file, this method throws an OutOfMemoryException exception.
what can i do a condition if (...)...
hi guys, hope someone can help me.
i got a webcam which takes 2 snapshots per second (every 500ms take the snapshot) and overwriting the same file .jpg
i got a algorithm which get the image from file every 800milliseconds.
sometimes less than one minute the error out of memory shows.
I figured...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.