Hi, This is part of my first Win32-Gui program that has been converted from a non-gui program. When I run it, I get a couple of the following error messages that point to the Win32:::GUI::Dialog() line. I also get the message whenever the cursor touches the window. But other than that, it runs fine.
Use of uninitialized value at C:\perl522\dev\pdfexporter.pl line XX. I am running Activestate 522 with Win32-GUI build .99 Any help would be appreciated. Thanks John Watson snip ------------------------- my $t1 = $main->AddTimer('T1', $sleeptime); Win32::GUI::Dialog(); sub Main_Terminate { return -1; } sub T1_Timer { for (my $i=1; $i <= $number_directories; $i++) { &exportpdf($impdir[$i], $outdir[$i], $errdir[$i]); } $main->DoEvents(); } ------------------------ snip