Re: LoadPicture gets wrong icon count from dll
Posted: 15 Sep 2017, 13:47
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)
Code: Select all
IconCount := DllCall( "Shell32\ExtractIcon", "Ptr",0, "Str","broken.dll", "Int",-1 )