Hi all. I'm making my first programs with the win32::gui module, but I'm experiencing some problems:
1) threads and win32gui? Until yesterday I was using activeperl's distribution (1.03), but after updating to 1.05 I'm getting the following errors with my script: Free to wrong pool 1ceafb0 not 222828 at C:/Perl/site/lib/Win32/GUI.pm line 294 during global destruction. I tried adding a piece of code a found somewhere: # make Win32::GUI threadsafe sub Win32::GUI::CLONE_SKIP {1}; sub Win32::GUI::Timer::CLONE_SKIP {1}; Still got an error, but now another one: Thread failed to start: Can't call method "Text" on unblessed reference at Smoothwall Remote.pl line 794. Attempt to free non-existent shared string 'Tray', Perl interpreter: 0x1cec67c at C:/Perl/site/lib/Win32/GUI.pm line 3429 during global destruction. Unbalanced string table refcount: (1) for "" during global destruction. Unbalanced string table refcount: (1) for "DELETE" during global destruction. Scalars leaked: -1 Tray is the name of my NotifyIcon, tried to comment it out but I'm still getting the same error :? 2) Hide() vs -Visible => 0 I'm working with tabstrips, and on tabstrip_change, I hide some labels and textboxes to show others. I was doing this with "$main_window->label->Hide()", but to shorten some code I tried to do it like "$main_window->label->Change(-visible => 0)". But this doesn't work completely: the main window doesn't get updated (you don't see any changes). But if I place "$main_window->Hide(); $main_window->Show();" right after, the changes get updated, but with some flickering (I tried "$main_window->Update();" too, but this doesn't seem to do anything). Do I miss something? Thanks in advance for all comments or help!! Maleadt P.S. I'm running ActivePerl 5.8.8, under Windows XP SP2...