Re: [perl-win32-gui-hackers] [win32-gui] Build 1.03_04 NotifyIcon errors
Reini Urban wrote: Robert May schrieb: [snip NotifyIcon test errors] To close this issue, Chris re-built with the latest CVS source, and everything seems fine. I'm not going to pursue what went on any further, unless I see similar reports again. For me the new code fixed also these issues. msvc and cygwin Thank you for the report. Rob.
Re: [perl-win32-gui-hackers] [win32-gui] Build 1.03_04 NotifyIcon errors
Robert May schrieb: Chris Wearn wrote: Hi All, Building latest CVS source with VC++6, WindowsXP Pro SP2, Perl v5.8.7 I get the errors listed further below and although there is no error message when installing, a previously functioning script which utilises NotifyIcon now exhibits the following behaviour… Custom icon no longer appears ‘set’ on the window entry on the task bar. The NotifyIcon does not build and appear in the system tray. It generates an error on exit, that it cannot “remove” a resource that is not there… Cheers Chris Wearn t\05_NotifyIcon_01_Constructor.dubious Test returned status 11 (wstat 2816, 0xb00) DIED. FAILED tests 3, 5-10, 13-16 Failed 11/16 tests, 31.25% okay t\05_NotifyIcon_02_Change..dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2, 4, 7-16 Failed 12/16 tests, 25.00% okay t\05_NotifyIcon_03_OtherMethodsdubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2, 4, 6-9 Failed 6/9 tests, 33.33% okay t\05_NotifyIcon_04_Remove..dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1, 3-5, 7-9 Failed 7/9 tests, 22.22% okay t\05_NotifyIcon_05_DESTROY.dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 1, 6-7 Failed 3/13 tests, 76.92% okay [snip] To close this issue, Chris re-built with the latest CVS source, and everything seems fine. I'm not going to pursue what went on any further, unless I see similar reports again. For me the new code fixed also these issues. msvc and cygwin -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/
Re: [perl-win32-gui-hackers] [win32-gui] Build 1.03_04 NotifyIcon errors
Chris Wearn wrote: Hi All, Building latest CVS source with VC++6, WindowsXP Pro SP2, Perl v5.8.7 I get the errors listed further below and although there is no error message when installing, a previously functioning script which utilises NotifyIcon now exhibits the following behaviour… Custom icon no longer appears ‘set’ on the window entry on the task bar. The NotifyIcon does not build and appear in the system tray. It generates an error on exit, that it cannot “remove” a resource that is not there… Cheers Chris Wearn t\05_NotifyIcon_01_Constructor.dubious Test returned status 11 (wstat 2816, 0xb00) DIED. FAILED tests 3, 5-10, 13-16 Failed 11/16 tests, 31.25% okay t\05_NotifyIcon_02_Change..dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2, 4, 7-16 Failed 12/16 tests, 25.00% okay t\05_NotifyIcon_03_OtherMethodsdubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2, 4, 6-9 Failed 6/9 tests, 33.33% okay t\05_NotifyIcon_04_Remove..dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1, 3-5, 7-9 Failed 7/9 tests, 22.22% okay t\05_NotifyIcon_05_DESTROY.dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 1, 6-7 Failed 3/13 tests, 76.92% okay [snip] To close this issue, Chris re-built with the latest CVS source, and everything seems fine. I'm not going to pursue what went on any further, unless I see similar reports again. Regards, Rob.
Re: [perl-win32-gui-hackers] [win32-gui] Build 1.03_04 NotifyIcon errors
Chris Wearn wrote: Building latest CVS source with VC++6, WindowsXP Pro SP2, Perl v5.8.7 [snip errors from testing] OK, so the NotifyIcon constructor is returning undef, now we just need to find out why. [As an aside, more tests are passing than should, due to the constructor adding information to the parent before it finds out that creation of the notifyicon failed, and then never removing it. This is easily fixed] Chris, Can you tell me what this outputs: perl -MWin32::GUI -e "print $Win32::GUI::NotifyIcon::SHELLDLL_VERSION" Can you search you header files for shellapi.h, and tell me what values you can find in there for the following constants: NOTIFYICONDATA_V1_SIZE NOTIFYICONDATAA_V1_SIZE NOTIFYICONDATAW_V1_SIZE NOTIFYICONDATA_V2_SIZE NOTIFYICONDATAA_V2_SIZE NOTIFYICONDATAW_V2_SIZE Thanks, Rob.