aName:array[0..31] of WideChar;//编译提示检测到错误类EAccessViolation//没有初始化

aName:array[0..31] of WideChar;//编译就提示检测到错误类EAccessViolation

combobox11.Text :=aName;  
可是一编译就提示检测到错误类EAccessViolation


aName:array[0..31] of WideChar;//没有初始化

var aName:array[0..31] of WideChar;
  i:Integer;
begin
  for  i := 0 to  31 do  begin
    aName[i]:=#65;
  end;

combobox11.Text:=aName;
end;

你可能感兴趣的:(Access)