Hello! Im use SysImageList in my component TVirtualFileList (similar Total Commander, ListView with 5 columns - Name, Ext, Size, Date, Attr), if you need, i can to send you code of my component.
This code i wrote for example. If i will try to run, i will get error - sometimes "access violation...", sometimes "stack overflow at 0x748ee284". If to change string "c:\windows\assembly\GAC" on other string, example "C:\windows\assembly", this code work without errors.
- Code: Select all
procedure TForm1.FormShow(Sender: TObject);
var
i: integer;
begin
i:= SysImageList1.ImageIndexOf('C:\Windows\assembly\GAC', false);
end;