代码如此:
DxList := AllocMem (sizeof(TDirectDrawSurface) * Count);
      if DxList = nil then
        raise Exception.Create ('AllocMem for Dx failed!');
      LoadAllImage;错误显示为最后一行,地址00454F03PS:这种问题还是比较常见的,以前的都能解决,这次错在函数调用上,我就找不到原因了。