Cannot install TSysImageList into D2009

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

Cannot install TSysImageList into D2009

Postby ckissi » October 10th, 2009, 2:59 pm

Hello. I tried to install TsysImageList into D2009 but got several error messages.

[DCC Error] SysImg.pas(241): E2003 Undeclared identifier: 'dsTransparent'

[DCC Error] SysImg.pas(358): E2033 Types of actual and formal var parameters must be identical

Its the line where: DesktopFolder.ParseDisplayName(0, nil, WidePath, NumChars, PIDL, Flags); is located

Please advice. Thanx
ckissi
Member
Member
 
Posts: 4
Joined: October 10th, 2009, 2:49 pm

Re: Cannot install TSysImageList into D2009

Postby Kambiz » October 10th, 2009, 5:54 pm

Are you sure you have installed the component properly? Because I have already installed TSysImageList in my Delphi 2009.

Here are the instructions to install the component: viewtopic.php?f=7&t=1430
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: Cannot install TSysImageList into D2009

Postby ckissi » October 10th, 2009, 6:28 pm

Thanx for quick reply...
I downloaded it from here:
http://www.delphiarea.com/?dl_id=15

tried to install exactly how its in the manual. Same error. You can see it in attached picture.
Where the "dsTransparent" is defined ?
Attachments
sysimagelist_error.jpg
sysimagelist_error.jpg (252.67 KiB) Viewed 1178 times
ckissi
Member
Member
 
Posts: 4
Joined: October 10th, 2009, 2:49 pm

Re: Cannot install TSysImageList into D2009

Postby Kambiz » October 10th, 2009, 9:41 pm

I do believe DELPHIAREA.INC is neither in Delphi's search path nor in the component's folder.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: Cannot install TSysImageList into D2009

Postby ckissi » October 10th, 2009, 9:44 pm

Its exactly in the same folder as the SysImg.pas
And library path contains path where component is located: c:\components\all
ckissi
Member
Member
 
Posts: 4
Joined: October 10th, 2009, 2:49 pm

Re: Cannot install TSysImageList into D2009

Postby ckissi » October 10th, 2009, 9:50 pm

There is no declaration for dsTransparent . I cannot find where its declared
ckissi
Member
Member
 
Posts: 4
Joined: October 10th, 2009, 2:49 pm

Re: Cannot install TSysImageList into D2009

Postby Kambiz » October 13th, 2009, 8:52 am

Declaration for dsTransparent is in the base class, and depends on you Delphi version, the base class is either TCustomImageList or TImageList.

Code: Select all
{$IFDEF COMPILER4_UP}
TSysImageList = class(TCustomImageList)
{$ELSE}
TSysImageList = class(TImageList)
{$ENDIF}

You may have different version of DELPHIAREA.INC in your search path, and it causes COMPILER4_UP directive does not defined correctly. You are the only person not able to install this component on Delphi 2009.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron