I need to use a TThread method to update the TImage control (the pixel property of it)
more specifically, I need...
void imageputpixel(int x, int y, void *colour) {
Form1->canvas->Canvas->Pixels[x][y] = (TColor) colour;
};
to be called from my TThread...
every time I try it, I get a write protection error
please help
thanks
more specifically, I need...
void imageputpixel(int x, int y, void *colour) {
Form1->canvas->Canvas->Pixels[x][y] = (TColor) colour;
};
to be called from my TThread...
every time I try it, I get a write protection error
please help
thanks