hf_linux
路人甲
路人甲
  • 注册日期2004-08-31
  • 发帖数12
  • QQ
  • 铜币156枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:959回复:0

为什么紧缩地图会出错?

楼主#
更多 发布于:2004-09-18 13:34
<P>procedure TfrmMain.NPackMapClick(Sender: TObject);
const
   packOptionArray:array[0..5] of integer=(1,2,4,8,16,32);
var
  i,j:integer;
begin
  for i:=1 to mapMain.Layers.Count do
  begin
    for j:=0 to 5 do
    begin
      if mapMain.Layers.SupportsPack(packOptionArray[j]) then
        mapMain.Layers.Pack(packOptionArray[j]);
    end;  //end j
  end; //end i
end;</P>
<P>13:31:19:Access violation at address 018FAD66 in module 'daengine.dll'. Read of address 00000000
</P>
喜欢0 评分0
游客

返回顶部