Recent

Author Topic: Identifier not found "TWinCEWSCustomImageList"  (Read 1467 times)

ertank

  • Sr. Member
  • ****
  • Posts: 274
Identifier not found "TWinCEWSCustomImageList"
« on: April 22, 2018, 12:15:12 pm »
Hello,

Using following versions:
fpc 3.1.1 trunk svn revision 38804
lazarus 1.9.0 trunk svn version 57683

When cross compiling from win32 to wince I get following error:
Code: [Select]
wincewsimglist.pp(94,17) Error: Identifier not found "TWinCEWSCustomImageList"

I see that class is named as TWinCEWSCustomImageListResolution and procedure(s) are for TWinCEWSCustomImageList.

1) If I change TWinCEWSCustomImageList -> TWinCEWSCustomImageListResolution then I start to get errors in WinCEWSButtons.pp like
Code: [Select]
wincewsbuttons.pp(121,7) Error: Identifier not found "TWinCEWSCustomImageList"
// changing above to "TWinCEWSCustomImageListResolution" continue to following error
wincewsbuttons.pp(121,91) Error: Incompatible type for arg no. 1: Got "TCustomImageList", expected "TCustomImageListResolution"

2) If I change class definition to "TWinCEWSCustomImageList = class(TWSCustomImageList)" then I get error "Identifier not found TWSCustomImageList"


I could not be sure if that error is because something I did or because of trunk sources.

Any help is appreciated.

Thaddy

  • Hero Member
  • *****
  • Posts: 14197
  • Probably until I exterminate Putin.
Re: Identifier not found "TWinCEWSCustomImageList"
« Reply #1 on: April 22, 2018, 12:36:26 pm »
grep the sources. Then you know.
Specialize a type, not a var.

ertank

  • Sr. Member
  • ****
  • Posts: 274
Re: Identifier not found "TWinCEWSCustomImageList"
« Reply #2 on: April 22, 2018, 01:29:19 pm »
I confirm that SVN 57163 works OK. There are some modifications in some Wince files at revision 57164 by ondrej that breaks compilation.

 

TinyPortal © 2005-2018