TSysImageList

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

TSysImageList

Postby Vadim » April 16th, 2010, 5:49 pm

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.
Vadim
Member
Member
 
Posts: 3
Joined: April 16th, 2010, 5:30 pm

Re: TSysImageList

Postby Kambiz » April 16th, 2010, 9:41 pm

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
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: TSysImageList

Postby Vadim » April 17th, 2010, 4:09 am

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;
Vadim
Member
Member
 
Posts: 3
Joined: April 16th, 2010, 5:30 pm

Re: TSysImageList

Postby Kambiz » April 18th, 2010, 7:14 am

I checked it out once again, and it is not TSysImageList.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: TSysImageList

Postby Vadim » April 18th, 2010, 8:03 am

:oops: ) Sorry for my question, i reinstalled TSysImageList and i havnt problems with this component now.
Thanks for attention, theme it is closed.
Vadim
Member
Member
 
Posts: 3
Joined: April 16th, 2010, 5:30 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron