hi,
I’m using a Sercam L1 and a mountaineer eth. I would like to have a type definition VGA but I have problems with exceptions “OutOfMemory”. someone can 'give me any suggestions?
void serCam_StartDataCaptured(SerCam sender, int sizeImage)
{
try
{
index = 0;
datajpg = new byte[sizeImage];
Debug.Print("Image size to capture: " + sizeImage);
}
catch (OutOfMemoryException e)
{
Debug.Print("Memoria piena: " + e.ToString());
}
}
stops on
datajpg = new byte [sizeImage];
scorpion1