Net::IRC and
GUI thread don't block on database access) but the downside is the
extra work involved
Cheers,
jez.
well, considering I need to access some information before I ever start
the thread, I'll just go ahead and split my database.
Roger Mayfield
I know you can test if a Win32::GUI window has been minimized, but can
you run a sub if a DOS window has been minimized?
Roger Mayfield
ok, I found a method within the Win32::GUI called IsVisible to test
whether the window is visible or not, but this means whether the window
is hidden
icon, the console
disappears, when you click it again, it reappears. What I want to do
know is test whether the console window has been minimized so that I can
then hide the window ie: minimize to tray.
if ($DOS = minimized) { Win32::GUI::Hide($DOS); }
Roger Mayfield
the hell I'm doing, lol. Or should I try a different
Mailing list?
Roger Mayfield
SQLite2 support threading?
Roger Mayfield
threads or processes. My program will need to share data with the IRC
thread, so I know forking won't work right even with SIG. I was looking
at Win32::Process but I'm so confused. Anybody know of a good
book/website/tutorial/example using Win32::Process?
Roger Mayfield
I know you can test if a Win32::GUI window has been minimized, but can
you run a sub if a DOS window has been minimized?
Roger Mayfield
, only to get it's handle:
($DOS) = Win32::GUI::GetPerlWindow();
So, how do I test if the DOS window has been minimized?
Roger Mayfield
the window to update reguraly, but it didn't work either,
here is my program's main loop:
while (!$terminate) {
$window-DoEvents();
if ($loop 9 $connected) {
$irc-do_one_loop();
$loop = 0;
}
else { $loop++; }
}
Any suggestions?
Roger Mayfield
9 matches
Mail list logo