That's odd. Is there something wrong with your Perl? What does perl -v tell
you? Mine is v5.6.1 build 631 and I know that with last year's build 618 and
API v0.1 it worked just the way you show it.

> -----Original Message-----
> From: Steven Swenson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 25, 2002 19:14
> To: perl-win32-gui-users@lists.sourceforge.net
> Subject: [perl-win32-gui-users] Win32::API problems invoking 
> this module
> -- Please help.
> Importance: High
> 
> 
>    I upgraded to .20  and still have this problem.  Despite 
> installing with 
> ppm I can't get the module to work.
> This is what I am trying to do:
> 
> use Win32::API;
> 
> $RegisterWindowMessage = new 
> Win32::API("User32","RegisterWindowMessage",[P],N);
> $SendMessage           = new 
> Win32::API("User32","SendMessage",[N,N,N,N],N);
> 
> 
> I get back :
> 
> Can't locate object method "new" via package "Win32::API" 
> (perhaps you 
> forgot to
>   load "Win32::API"?) at exceed.pl line 13.
> 
> What's going on???!  Please help me
> 
> --Steve
> 
> 
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> 

Reply via email to