TSysImageList

Post here your experiences, comments, suggestions, or bug reports regarding to the DELPHI AREA products. Not-matching topics will be moved or deleted.

TSysImageList

by Vadim » 16/04/10 17:49

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: 16/04/10 17:30

Re: TSysImageList

by Kambiz » 16/04/10 21:41

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

Donate a cup of food for free: Click to Give @ The Hunger Site
User avatar
Kambiz
Administrator
Administrator
 
Posts: 1955
Joined: 07/03/03 19:10
Location: Tehran, Iran

Re: TSysImageList

by Vadim » 17/04/10 04:09

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: 16/04/10 17:30

Re: TSysImageList

by Kambiz » 18/04/10 07:14

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

Donate a cup of food for free: Click to Give @ The Hunger Site
User avatar
Kambiz
Administrator
Administrator
 
Posts: 1955
Joined: 07/03/03 19:10
Location: Tehran, Iran

Re: TSysImageList

by Vadim » 18/04/10 08:03

: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: 16/04/10 17:30


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 0 guests