Jump to content

Check if *.exe has an icon inside


 Share

Recommended Posts

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...