Access violation in module orageneric11.dll
Posted: Mon 01 Feb 2010 09:55
OCI: version 11.1
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
Delphi 2010
ODAC 6.90.0.55
In Oracle created type:
create or replace type TTBL_STRING as table of varchar2(4000 char);
Delphi:
After run application raise error:
Access violation at address 097FEF5A in module 'orageneric11.dll'. Read of address B2D88B53.
Whats wrong ?
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
Delphi 2010
ODAC 6.90.0.55
In Oracle created type:
create or replace type TTBL_STRING as table of varchar2(4000 char);
Delphi:
Code: Select all
procedure TForm2.Button2Click(Sender: TObject);
var
PersOraList: TOraNestTable;
ItemIndex: Integer;
begin
PersOraList := TOraNestTable.Create(TOraType(GetOraType(OraSession1.OCISvcCtx, 'TTBL_STRING')));
try
ItemIndex := PersOraList.AppendItem;
PersOraList.ItemAsString[ItemIndex] := 'Test'; // <-- Error
finally
PersOraList.free;
end;
end;
Access violation at address 097FEF5A in module 'orageneric11.dll'. Read of address B2D88B53.
Whats wrong ?