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 (Monk) 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