I update an imageenview from childwin(ShowModal);using the code like as follow:
if (!proc->BeginImageProcessing(Hyieutils::TIEPixelFormatSet(ie24RGB), x1,y1, x2, y2, "WaveletFusion", ProcBitmap, mask)) return;
for (int i = y1; i <= y2 - 1; i++) {
px = (Hyiedefs::TRGB*) ProcBitmap->Scanline[i];
for (int j = x1; j <= x2 - 1; j++) {
px->r = Src.bmBits[(i - y1) * Src.bmWidth + (j - x1)];
px->g = px->r;
px->b = px->r;
px++;
}
}
proc->EndImageProcessing(ProcBitmap, mask);
ImgEnMain->Proc->SaveUndo(UndoCaption);
when you run the program,the error occur like as follow#65306;
How to deal with this?