Getting at an embedded icon
BlitzPlus Forums/BlitzPlus Programming/Getting at an embedded icon
| ||
Hi all, I've seen 2 different versions of changing the window icon for a blitz app, but they both loaded an external .ico file. Is there a somewhat easy method to get at an icon that I've embedded in my exe with reshack? |
| ||
good question. |
| ||
ExtractIconA(hwnd,exefile$,0) |
| ||
Ahh thanks.. I feel like a big bonehead now. Didn't dawn on me that that same function can take an exe. Der! |
| ||
OK, so that means I don't have to include the ico file in the folder as I have already added it to the .exe with ResHack. Cool. Now if only Protean IDE auto added the icon for BlitzPlus ... sigh. |
| ||
You know, I recall trying to get protean to add an icon numerous times. Never got it to work. |
| ||
halo is the WinAPI king around here... |