TSysImageList

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

TSysImageList

Hello! I'm sorry for my not very good english ). I have one problem with use TSysImageList component. When i will want to get icons of folder 'C:\Windows\assembly\*.*' , i have got error 'access violation...'. Im have this problem with this folder only, other folders works without errors.Im use Windows 7 64-bit.
Member

Posts: 3
Joined: April 16th, 2010, 5:30 pm

Re: TSysImageList

I tried same folder on my Windows 7 Ultimate 64bit, and no error occurred.

Are you sure the problem is not because of something else?
Kambiz

Kambiz

Posts: 2430
Joined: March 7th, 2003, 7:10 pm

Re: TSysImageList

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;
Member

Posts: 3
Joined: April 16th, 2010, 5:30 pm

Re: TSysImageList

I checked it out once again, and it is not TSysImageList.
Kambiz

Kambiz

Posts: 2430
Joined: March 7th, 2003, 7:10 pm

Re: TSysImageList

) Sorry for my question, i reinstalled TSysImageList and i havnt problems with this component now.
Thanks for attention, theme it is closed.