Jump to content
Sign in to follow this  
MrChiliCheese

Check if *.exe has an icon inside

Recommended Posts

MrChiliCheese

Hi,

is it possible to check, if an exe has an icon inside?

Share this post


Link to post
Share on other sites
MrChiliCheese

Thanks, but i'm new to the dll stuff. I looked around, i'm missing what is meant with:

hInst
[in] Handle to the instance of the application calling the function.

So far i have this code:

$dll = DllOpen ("shell32.dll")
$test = DllCall($dll, "int", "ExtractIcon", "str", @SystemDir & "\mspaint.exe", "uint", 0)
MsgBox(0, "", $test)
DllClose ($dll)
Edited by yetrael

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.