Lawrence E Pierce wrote:
I'm trying to get started with Win32 GUI. When I run the sample
scripts, I get error messages. Am I missing something that Win32 GUI
depends on? If so, where do I find it?
PS here's what I see:
C:\Perl\site\lib\Win32\GUI\demos>perl getopenfilename.pl
Can't load 'C:/Perl/site/lib/auto/Win32/GUI/GUI.dll' for module
Win32::GUI: load_file:The specified procedure could not be
found at C:/Perl/lib/DynaLoader.pm line 229.
at getopenfilename.pl line 4
Compilation failed in require at getopenfilename.pl line 4.
BEGIN failed--compilation aborted at getopenfilename.pl line 4.
C:\Perl\site\lib\Win32\GUI\demos>perl draw.pl
Can't load 'C:/Perl/site/lib/auto/Win32/GUI/GUI.dll' for module
Win32::GUI: load_file:The specified procedure could not be
found at C:/Perl/lib/DynaLoader.pm line 229.
at draw.pl line 8
Compilation failed in require at draw.pl line 8.
BEGIN failed--compilation aborted at draw.pl line 8.
Lawrence,
It's difficult to be exact without more information, but it looks like
your installation is not complete. Win32::GUI is an 'XS' module, that
requires a DLL to be loaded (in your case perl is trying to load it from
C:/Perl/site/lib/auto/Win32/GUI/GUI.dll, but it s not finding it).
What version of Win32::GUI, what version of perl (perl -v will tell
you), what OS (Win95/98/ME/NT/2K/XP ... )?
Where did you get the source or binary distribution of Win32::GUI from,
and how did you install it? Did you follow the instructions in the
README? Did you see any errors when performing the build and/or
installation?
Regards,
Rob.