Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Can't change icon with win32 module

by palkia (Scribe)
on Sep 22, 2012 at 19:21 UTC ( #995125=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Can't change icon with win32 module
in thread Can't change icon with win32 module

I used Win32::FormatMessage(Win32::GetLastError()) but it returns The operation completed successfully for both icons (those the do and doe that don't give undef).
It even says the same thing if I use a pl file instead of ico,
Seems to me to be pretty equivalent to the -e operator.


Comment on Re^4: Can't change icon with win32 module
Select or Download Code
Re^5: Can't change icon with win32 module
by bulk88 (Priest) on Sep 23, 2012 at 03:59 UTC
      $^E is $^E, use $^E instead of SomeFunctionName
        $^E is 10 times slower in NYTProf than Win32::GetLastError, plus you have to cast it with a +0 to get an error code plus $^E doesn't know the text for the 12*** or 15*** series.
Re^5: Can't change icon with win32 module
by Anonymous Monk on Sep 23, 2012 at 05:47 UTC

    I used ...

    Where did you use it? Where did you add it?

    Show your code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995125]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-07-25 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (171 votes), past polls