Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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

by bulk88 (Priest)
on Sep 22, 2012 at 18:23 UTC ( #995118=note: print w/replies, xml ) Need Help??

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

Tried checking Win32::GetLastError() if creating an Win32::GUI::Icon failed?
  • Comment on Re^3: Can't change icon with win32 module

Replies are listed 'Best First'.
Re^4: Can't change icon with win32 module
by palkia (Scribe) on Sep 22, 2012 at 19:21 UTC
    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.

      I used ...

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

      Show your code

        $^E is $^E, use $^E instead of SomeFunctionName

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995118]
[Corion]: marto: That post is a repost/duplicate of Excel sheet data write issue :-D
[Corion]: Whoops - Merging worksheets in .xls in one Excel sheet
[marto]: Corion, whoops, can the moderation me amended?
[Corion]: marto: We could vote, unconsider and reconsider ;)
[Corion]: "vote keep", I meant ;)
[Corion]: marto: But that aside, I hope you are well!
Corion is slowly acclimatizing to working only four days a week
[marto]: the back pain is still there, it's been a rough week, trying to do building work with a bad back
[Corion]: marto: Ow! That doesn't sound good :-/ The work won't help your back...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2017-09-21 14:42 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (248 votes). Check out past polls.