OS/2 tricks: Icon corruption
Sometimes, a default icon of a program which is shown on WPS is corrupted even though an original .ico file is normal. Generally, this problem occurs when compressing resources with 24-bits and/or 32-bits icons. On OS/2, the executables such as .exe and .dll can be compressed with /EXEPACK option when linking with IBM linkers such as link386.exe and ilink.exe , or with lxlite.exe after linking. Out of these, lxlite.exe may corrupt a default icon, and maybe other icons as well if it compress the executables containing resources. In addition, a resource compiler, rc has -x option to compress resources, too. This may also corrupts icons. The best way to fix this icon corruption problem is to fix a resource compiler and lxlite. However this is not easy. Then, which ways are possible ? The simplest way is to compress neither the executables nor resources. However, we will get much bigger executables. More reasonable way is to compress the executables only. For example, L