今天装gifimage控件,老是报错, 
Pal: TMaxLogPalette; 
  begin 
    Pal.palVersion := $0300; 
    Pal.palNumEntrie s := 256; 
    for i := 0 to 255 do 
    begin 
      with (Pal.palPalEntry[i]) do 
      begin 
        peRed := i;//this is an error 
        peGreen := i;//this is an error 
        peBlue  := i;//this is an error 
        peFlags := PC_NOCOLLAPSE;//this is an error 
      end; 
    end; 
    Result := CreatePalette(pLogPalette(@Pal)^); 
  end;就是上面报的几个错误,安装了几个版本的都不行,不知道是不是我安装的方法没有对,还是控件本身的问题。在网上看到说delphi2007以后就自带有gifimage控件,但是我在2010没有找到呢?
我在用别人一的段程序,里面用到了gifimage控件,不装的话,又提示这个控件未知。
请各位高手赐教