procedure Wczytaj(FileSrc: String; var ListView: TJvListView);
var
Ini: TIniFile;
Sekcje, PodSekcje: TStrings;
Count: Integer;
begin
ListView.Clear;
Ini := TIniFile.Create(FileSrc);
Ini.ReadSections(Sekcje);
for Count := 0 to Sekcje.Count do
begin
ListView.AddItem(Sekcje.Strings[Count], nil);
Ini.ReadSectionValues(Sekcje.Strings[Count], PodSekcje);
ListView.Items[Count].SubItems := PodSekcje;
end;
Ini.Free;
end;
Czemu juz przy Ini.ReadSections(Sekcje);
wywala mi access violation?! 8-0