This is "ussually" caused by the use of both lines : use Win32; use Win32::GUI; Both of these files export the same contacts (this is one of the reasons the perlmodlib specifically state that exporting things automatically is generally a bad practice.) . If you have use Win32 in your script, change it to "use Win32();". Adding the parenthesis basically just turns off the automatic export of methods and variables. This of course meanst that you have to fully quallify methods and variables to use them, but you should be doing that anyway. 8^) If I remember correctly, Jan change the Win32 package for some of the more recent ppm releases and installs of activeperl to not export anything automatically, so upgrading may just fix it also. Of course, if you do NOT use Win32; in your script, then something else you are using contains this use statement and you can again either get the latest version or dig into each module and fix yourself. Joe Frazier, Jr. Technical Support Engineer Peopleclick Service Support
Tel: +1-800-841-2365 E-Mail: mailto:[EMAIL PROTECTED] -----Original Message----- From: Howard, Steven (US - Tulsa) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 7:51 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] XP color and prototype mismatch problems In XP, when I create a GUI in Perl, the background color is always white. This looks very bad. How do I change the background color to the windows gray? Also, anytime I add the use Win32::GUI; line to the script, exporter generates numerous warnings about prototype mismatches. These are not generated if the script is run on a Win 2K, or NT 4.0 machine. Is there something I need to do to keep this from happening? It doesn't seem to hurt anything - it's just a nuisance - especially when I am trying to debug something else within the script. Thanks, Steve Howard - This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. - If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.