GetPaletteEntries(SrcBitmap->Palette, 0, 256, pal);
for (R = 0; R < 256; R++)//提示错误
{
if (TColor(RGB(pal[R].peRed, pal[R].peGreen, pal[R].peBlue)) == TransColor)
{
break;
}
}
错误提示[BCC32 Warning] Unit1.cpp(65): W8068 Constant out of range in comparison
是否需要调整一下