Andrew, It looks to me (though without samples from the script you are using) that you may be redifining the constants within your script. This would cause such an error where Exporter was involved.
Changing any XS module name's exact method of spelling will cause such errors btw, and should generally be avoided wether the module is XS or not. Jason P. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew M Pastuszak Sent: Friday, May 05, 2006 11:35 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Odd problem with compiling a script I am having kind of a strange problem. I am using ActiveState Komodo 3.5.1, ActivePerl 5.8.8 with Win32::GUI 1.0.3 along with the Perl Dev Kit 6.0. If I put the following line in my script: use Win32::GUI; I get the following error: Subroutine main::MB_ICONEXCLAMATION redefined at C:/Perl/lib/Exporter.pm line 65. at I:\SiteBuild HTA files\SiteBuild HTA files\policymod2.pl line 12 Subroutine main::MB_ICONWARNING redefined at C:/Perl/lib/Exporter.pm line 65. at I:\SiteBuild HTA files\SiteBuild HTA files\policymod2.pl line 12 Subroutine main::MB_ICONINFORMATION redefined at C:/Perl/lib/Exporter.pm line 65. at I:\SiteBuild HTA files\SiteBuild HTA files\policymod2.pl line 12 Subroutine main::MB_ICONASTERISK redefined at C:/Perl/lib/Exporter.pm line 65. at I:\SiteBuild HTA files\SiteBuild HTA files\policymod2.pl line 12 Subroutine main::MB_ICONQUESTION redefined at C:/Perl/lib/Exporter.pm line 65. at I:\SiteBuild HTA files\SiteBuild HTA files\policymod2.pl line 12 Subroutine main::MB_ICONSTOP redefined at C:/Perl/lib/Exporter.pm line 65. at I:\SiteBuild HTA files\SiteBuild HTA files\policymod2.pl line 12 Subroutine main::MB_ICONERROR redefined at C:/Perl/lib/Exporter.pm line 65. at I:\SiteBuild HTA files\SiteBuild HTA files\policymod2.pl line 12 Subroutine main::MB_ICONHAND redefined at C:/Perl/lib/Exporter.pm line 65. at I:\SiteBuild HTA files\SiteBuild HTA files\policymod2.pl line 12 If I change my use line to show use Win32::Gui; then I don't see any of these errors. But if I try and compile the script using the perl dev kit with the lowercase Gui, I get the following errors in the compiler: PerlApp 6.0.2 build 203380 Copyright (C) 1998-2005 ActiveState Corp. All rights reserved. ActiveState is a division of Sophos Plc. Commercial license for Name <[EMAIL PROTECTED]> auto\Win32\Gui\Gui.dll: error: Case mismatch between module and file name refby: C:\Perl\site\lib\Win32\GUI.pm file: C:\Perl\site\lib\auto\Win32\GUI\GUI.dll GUI.dll: error: Case mismatch between module and file name refby: C:\Perl\site\lib\Win32\GUI.pm file: C:\Perl\site\lib\auto\Win32\GUI\GUI.dll Win32\Gui.pm: error: Case mismatch between module and file name refby: policymod2.pl line 12 file: C:\Perl\site\lib\Win32\GUI.pm Created 'policymod2.exe' [Test it] Executable size: 324 KB [DONE] The executable fails to run. If I change things back to GUI, the compiler runs and executable works, but it pops up a DOS window with the above mentioned errors. I tried to use the Indigo Star compiler, but the executable it produces gives me an error as soon as I double click on it. Is there any way to get rid of these errors? -- Andy Pastuszak Desktop Engineer II Commerce Bank [EMAIL PROTECTED] (856)470-3270 ____________________________ This message and any attachments may contain confidential or privileged information and are intended only for the use of the intended recipients of this message. If you are not the intended recipient of this message, please notify the sender by return email, and delete this and all copies of this message and any attachments from your system. Any unauthorized disclosure, use, distribution, or reproduction of this message or any attachments is prohibited and may be unlawful. ____________________________ ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users http://perl-win32-gui.sourceforge.net/