Toolbar Command Button can't use Icon in ICL package in Win7

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Li Yongzhen
Junior Member
Junior Member
Posts: 64
Joined: 2010-04-04, 10:46 UTC

Toolbar Command Button can't use Icon in ICL package in Win7

Post by *Li Yongzhen »

In win 7, I found Command Button in TC toolbar can't use Icon in ICL package (packed with iclread.wcx plugin) any more, but normally in win2k, xp.

If the 'Icon File' in "Change Button Bar' dialog box reffers to a ICL Package file, TC refuses to open and display Icons inclueded in the package on ICON filed under "Icon File' of the dialog box when pressing the >> button.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It seems that your ICL is 16-bit library and your Windows 7 is 64-bit OS. 64-bit Windows can't work with 16-bit programs and libraries at all. You need to convert your ICL from 16-bit to 32-bit using corresponding software (try search this forum, it was discussed already).
User avatar
petermad
Power Member
Power Member
Posts: 16031
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed - when the icl file is packed with iclread.wcx - but not when it is packed with for example iclview.wlx

Furthermore the icons cannot be viwed in Lister when using Irfanview as viewer - but it can be viewed with plugins like iclview or Imagine.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Li Yongzhen
Junior Member
Junior Member
Posts: 64
Joined: 2010-04-04, 10:46 UTC

Post by *Li Yongzhen »

MVV wrote:It seems that your ICL is 16-bit library and your Windows 7 is 64-bit OS. 64-bit Windows can't work with 16-bit programs and libraries at all. You need to convert your ICL from 16-bit to 32-bit using corresponding software (try search this forum, it was discussed already).
my win 7 is x86(32bit).
done.
ur right!

thanx
Last edited by Li Yongzhen on 2010-11-08, 03:11 UTC, edited 1 time in total.
Li Yongzhen
Junior Member
Junior Member
Posts: 64
Joined: 2010-04-04, 10:46 UTC

Post by *Li Yongzhen »

petermad wrote:Confirmed - when the icl file is packed with iclread.wcx - but not when it is packed with for example iclview.wlx

Furthermore the icons cannot be viwed in Lister when using Irfanview as viewer - but it can be viewed with plugins like iclview or Imagine.
thanx
i packed icl package with iclread.wcx, and view the package with iclview.wxl.
Li Yongzhen
Junior Member
Junior Member
Posts: 64
Joined: 2010-04-04, 10:46 UTC

Post by *Li Yongzhen »

MVV wrote:It seems that your ICL is 16-bit library and your Windows 7 is 64-bit OS. 64-bit Windows can't work with 16-bit programs and libraries at all. You need to convert your ICL from 16-bit to 32-bit using corresponding software (try search this forum, it was discussed already).
hi, guy
several days before, i had solved thd question according to your way. this is truely 32bit iconlib problem.
but today, i re-restored my ghost to my laptop, found the problem remains the same as before.
strangly, my ICLLib is same and had been converted to ICL32.

why like this?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You may always try to use icons from ICL for e.g. Windows LNK files to check if it is TC or Windows problem.
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

i re-restored my ghost to my laptop
By any chance: did you restore the TC Path with the *.br2 (default.br2, ..) files?
These are cache files containing the icon symbols of the button bar.
You may delete them and restart TC to rebuild the cache from 32Bit-ICL.

Regards
Holger
Li Yongzhen
Junior Member
Junior Member
Posts: 64
Joined: 2010-04-04, 10:46 UTC

Post by *Li Yongzhen »

HolgerK wrote:
i re-restored my ghost to my laptop
By any chance: did you restore the TC Path with the *.br2 (default.br2, ..) files?
These are cache files containing the icon symbols of the button bar.
You may delete them and restart TC to rebuild the cache from 32Bit-ICL.

Regards
Holger

Maybe, iclview's command "save all as ICL...." would result in different ICL lib format.
for 32-bit ICons Libraries in "Save Icon Library" dialog box, *.icl32 differ from *.icl.
I used *.icl, done.

thanx.
Post Reply