Loading ...
Sorry, an error occurred while loading the content.

Re: SendRawKey problem

Expand Messages
  • Dennis K. Paulsen
    A couple of thoughts: 1) Make sure you have Win32::GuiTest **version 1.49.2** installed. That s when SendRawKey was introduced. Now if you ve
    Message 1 of 2 , Nov 24, 2003
    • 0 Attachment
      A couple of thoughts:

      1) Make sure you have Win32::GuiTest **version 1.49.2** installed.
      That's when SendRawKey was introduced. Now if you've
      compiled/installed this module yourself, make sure there were no
      errors during the install... If your confident this all went well,
      find GUITest.pm underneath your Perl directory and ensure the
      $VERSION variable in that file is set to '1.49.2', if not then you
      need to use a newer version of the module.

      2) Also watch out for multiple installations of Perl.


      Regards,
      Dennis K. Paulsen

      --- In perlguitest@yahoogroups.com, "nmarino" <nickm@n...> wrote:
      > When I try to run the rawkey.pl test program, I get the following
      > error:
      >
      > "FUNC" is not defined in %Win32::GuiTest::EXPORT_TAGS at
      > C:\other\perl\guitest\rawkey.pl line 1
      > main::BEGIN() called at C:/Perl/site/lib/Win32/GuiTest.pm
      > line 1
      > eval {...} called at C:/Perl/site/lib/Win32/GuiTest.pm
      line 1
      > "VK" is not defined in %Win32::GuiTest::EXPORT_TAGS at
      > C:\other\perl\guitest\rawkey.pl line 1
      > main::BEGIN() called at C:/Perl/site/lib/Win32/GuiTest.pm
      > line 1
      > eval {...} called at C:/Perl/site/lib/Win32/GuiTest.pm
      line 1
      >
      > The line in rawkey.pl that fails is:
      > use Win32::GuiTest qw/:FUNC :VK/;
      >
      >
      > If I try to simply try this code snippet:
      >
      > use Win32::GuiTest;
      >
      > Win32::GuiTest::SendRawKey(0x08, 0);
      >
      >
      > I get this error:
      >
      > Can't locate auto/Win32/GuiTest/SendRawKey.al in @INC (@INC
      > contains: C:/Perl/lib C:/Perl/site/lib .) at
      > C:\other\perl\guitest\tmp1.pl line 3
    Your message has been successfully submitted and would be delivered to recipients shortly.