From: Eric H. <eh...@co...> - 2007-02-01 21:11:12
|
Can some folks recommend to me a PERL compiler vendor/version that they are Getting to work fine on Windows XP and backward compatible With Windows 2000 professional/98SE?=20 Please supply binary build version of Win32-GUI and ActiveState/ActivePerl tested with this compiler. I am seeing problems with my PERL apps compiled with an older version of IndigoStar PERL compiler 5.03. I am using Win32-GUI 1.02 and ActivePerl 5.6.1 multi-thread on Windows XP. =20 Win32 Message Boxes are showing up blank? IndigoStar does not know what is wrong and recommends I purchase a newer compiler.=20 Eric Dallas, TX SAMPLE CODE: use Win32::GUI; $M =3D new Win32::GUI::Menu( "&File" =3D> "File", " > E&xit" =3D> "Exit", "&Help" =3D> "Help", " > &About - My Application" =3D> "About", ); $W =3D new GUI::Window( -title =3D> "My Application", -left =3D> 100, -top =3D> 150, -width =3D> 600, -height =3D> 200, -menu =3D> $M, -name =3D> "Window", -style =3D> ws_sysmenu ); $W->Show(); $W->BringWindowToTop(); Win32::GUI::Dialog(); =20 sub Exit_Click { return -1; =20 } sub About_Click { Win32::GUI::DoEvents(); $W->InvalidateRect(1); Win32::GUI::MessageBox($W,"This is a Sample Application", "About - My Application v1.0",64,); $W->BringWindowToTop(); Win32::GUI::DoEvents(); $W->InvalidateRect(1); } #-- END REM PERL COMPILER SCRIPT @echo off cls echo "Compiling test.pl Please wait..." c:\perl\bin\perl2exe -gui test.pl > test.log echo "done!" |