Until (or if at all) the glitch is fixed, the following one-liner can be used to get icon count from PE files. (for. ico count will always be 1)
Report problems with documented functionality
BGM wrote:Now, what do I do for .icl files?
ICL files are NE files. They are 16-bit and last I used them was in Win'98.
If you want to support them, you have to retrieve the raw ICON Data by directly reading from it... Wouldn't be worth the trouble, I'd say.
BTW, ExtractIcon() recognizes .BMP file as an ICON. Also, LoadPicture() is able to load a BMP as HICON when VType parameter is used.
Fixed in v1.1.27.00.
Who is online
Users browsing this forum: No registered users and 2 guests