TGI has asked for the wisdom of the Perl Monks concerning the following question:
About my system:
I create the executable using pp with an invocation like "pp -o foo.exe myscript.pl". Everything seems to work normally. When I run the executable on my system or other WinXP systems, everything works as expected.
The problem is that when I try to run this same executable on other versions of windows, such as Win98 or Win2000. The script thinks it is able to open the comm port as usual, but no data shows up.
One user reported that he was able to get the script to work on Windows 2000 by copying kernel32.dll from C:\WINNT\SYSTEM32 to C:\WINDOWS\SYSTEM32, so that the location matches a standard XP install. I haven't been able to verify this, so it may be a red herring.
If the location of the Kernel32.dll file is the problem, is there something I can do in the build process to specify the windows environment variable %WINDIR% as opposed to C:\WINDONT in the path?
TGI says moo
|
|---|