in reply to Win32::GUI won't display an NI menu properly

Using warnings might help understand at least one problem:

Use of uninitialized value in subroutine entry at C:/Perl/site/lib/Win32/GUI.pm line 3419 during global destruction.

Chasing that backwards, '">E&xit"' looks a tad off.

Even together, these are not the whole ball of wax, but they're a start. You might wish to sprinkle in some additional debug messages ... and re-read the doc (  perldoc -f Win32::GUI ).

And, yes, I see the same problems with Win7, AS Perl 5.018 but don't have time to chase them all to completion.

Replies are listed 'Best First'.
Re^2: Win32::GUI won't display an NI menu properly
by wardmw (Acolyte) on Aug 03, 2015 at 17:19 UTC
    Hmm, thought I had replied to your note but it's not appeared.

    So I added "warnings;" in to the code but it revealed nothing on my system, no complaints or anything, which is of concern since you indicated that you had issues, but I tried again anyway and got the same problem.

    I took the code for creating the menu from win32-gui-demos.pl on CPAN and just pared it down. This menu is designed to be used as a standard Windows menu but as far as I can tell pop-up menus are created in the same way.

    I should have said that I am running ActiveState Perl v5.16.3.