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

Re: Errors when trying to load function.

Expand Messages
  • Piotr Kaluski
    Hi, SelTabItemText is available in version 1.50.3. You re probably using the older one. Get the most recent one from http://sourceforge.net/projects/winguitest
    Message 1 of 4 , Sep 7, 2005
      Hi,
      SelTabItemText is available in version 1.50.3. You're probably using
      the older one. Get the most recent one from
      http://sourceforge.net/projects/winguitest and see if it helps.
      -Piotr

      --- In perlguitest@yahoogroups.com, "ben_cuthbert" <ben_cuthbert@y...>
      wrote:
      > All
      >
      > The code is great, and works like a charm, but i have an issue when
      i try
      > and use a function called SelTabItemText i get the following error
      >
      > C:\BensHome\BensPerl>perl test.pl
      > Starting to get window info
      > 66562> ' Guardian - Production'
      > Undefined subroutine &main::SelTabItemText called at test.pl line 35.
      >
      > So i add it into
      > use Win32::GuiTest qw/FindWindowLike
      > GetWindowText
      > GetClassName
      > GetChildDepth
      > GetDesktopWindow
      > SetForegroundWindow
      > SendKeys
      > PushButton
      > SelTabItemText
      > /;
      > and then i get.
      >
      > C:\BensHome\BensPerl>perl test.pl
      > "SelTabItemText" is not exported by the Win32::GuiTest module
      > Can't continue after import errors at test.pl line 7
      > BEGIN failed--compilation aborted at test.pl line 16.
      >
      > C:\BensHome\BensPerl>
      >
      > Could you help
    • ben_cuthbert
      Thanks for the heads up, got the new version but had a problem on compile, can t seem to find windows.h header file C: TEMP WIN32-~1.3-A WIN32-~1.3-A nmake
      Message 2 of 4 , Sep 7, 2005
        Thanks for the heads up, got the new version but had a problem on
        compile, can't seem to find windows.h header file

        C:\TEMP\WIN32-~1.3-A\WIN32-~1.3-A>nmake

        Microsoft (R) Program Maintenance Utility Version 1.50
        Copyright (c) Microsoft Corp 1988-94. All rights reserved.

        cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
        -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRY
        PT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
        -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT
        _SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
        -DVERSION=\"1.50.3-ad\" -DXS_VERSIO
        N=\"1.50.3-ad\" "-IC:\Perl\lib\CORE" guitest.cpp
        guitest.cpp
        guitest.xs(17) : fatal error C1083: Cannot open include file:
        'windows.h': No such file or directory

        NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
        '0x2'
        Stop.

        C:\TEMP\WIN32-~1.3-A\WIN32-~1.3-A>




        --- In perlguitest@yahoogroups.com, "Piotr Kaluski" <pkaluski@p...> wrote:
        > Hi,
        > SelTabItemText is available in version 1.50.3. You're probably using
        > the older one. Get the most recent one from
        > http://sourceforge.net/projects/winguitest and see if it helps.
        > -Piotr
        >
        > --- In perlguitest@yahoogroups.com, "ben_cuthbert" <ben_cuthbert@y...>
        > wrote:
        > > All
        > >
        > > The code is great, and works like a charm, but i have an issue when
        > i try
        > > and use a function called SelTabItemText i get the following error
        > >
        > > C:\BensHome\BensPerl>perl test.pl
        > > Starting to get window info
        > > 66562> ' Guardian - Production'
        > > Undefined subroutine &main::SelTabItemText called at test.pl line 35.
        > >
        > > So i add it into
        > > use Win32::GuiTest qw/FindWindowLike
        > > GetWindowText
        > > GetClassName
        > > GetChildDepth
        > > GetDesktopWindow
        > > SetForegroundWindow
        > > SendKeys
        > > PushButton
        > > SelTabItemText
        > > /;
        > > and then i get.
        > >
        > > C:\BensHome\BensPerl>perl test.pl
        > > "SelTabItemText" is not exported by the Win32::GuiTest module
        > > Can't continue after import errors at test.pl line 7
        > > BEGIN failed--compilation aborted at test.pl line 16.
        > >
        > > C:\BensHome\BensPerl>
        > >
        > > Could you help
      • Dennis K. Paulsen
        In this case you usually want to ensure you run vcvars32.bat; which is included with VC. Otherwise you could download the zip package and run ppm to install
        Message 3 of 4 , Sep 7, 2005
          In this case you usually want to ensure you run vcvars32.bat; which is
          included with VC. Otherwise you could download the zip package and
          run ppm to install it offline as discussed several times throughout
          this forum.

          Regards,
          Dennis
          --- In perlguitest@yahoogroups.com, "ben_cuthbert" <ben_cuthbert@y...>
          wrote:
          > Thanks for the heads up, got the new version but had a problem on
          > compile, can't seem to find windows.h header file
          >
          > C:\TEMP\WIN32-~1.3-A\WIN32-~1.3-A>nmake
          >
          > Microsoft (R) Program Maintenance Utility Version 1.50
          > Copyright (c) Microsoft Corp 1988-94. All rights reserved.
          >
          > cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
          > -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRY
          > PT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
          > -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT
          > _SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
          > -DVERSION=\"1.50.3-ad\" -DXS_VERSIO
          > N=\"1.50.3-ad\" "-IC:\Perl\lib\CORE" guitest.cpp
          > guitest.cpp
          > guitest.xs(17) : fatal error C1083: Cannot open include file:
          > 'windows.h': No such file or directory
          >
          > NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
          > '0x2'
          > Stop.
          >
          > C:\TEMP\WIN32-~1.3-A\WIN32-~1.3-A>
          >
          >
          >
          >
          > --- In perlguitest@yahoogroups.com, "Piotr Kaluski" <pkaluski@p...>
          wrote:
          > > Hi,
          > > SelTabItemText is available in version 1.50.3. You're probably using
          > > the older one. Get the most recent one from
          > > http://sourceforge.net/projects/winguitest and see if it helps.
          > > -Piotr
          > >
          > > --- In perlguitest@yahoogroups.com, "ben_cuthbert" <ben_cuthbert@y...>
          > > wrote:
          > > > All
          > > >
          > > > The code is great, and works like a charm, but i have an issue when
          > > i try
          > > > and use a function called SelTabItemText i get the following error
          > > >
          > > > C:\BensHome\BensPerl>perl test.pl
          > > > Starting to get window info
          > > > 66562> ' Guardian - Production'
          > > > Undefined subroutine &main::SelTabItemText called at test.pl
          line 35.
          > > >
          > > > So i add it into
          > > > use Win32::GuiTest qw/FindWindowLike
          > > > GetWindowText
          > > > GetClassName
          > > > GetChildDepth
          > > > GetDesktopWindow
          > > > SetForegroundWindow
          > > > SendKeys
          > > > PushButton
          > > > SelTabItemText
          > > > /;
          > > > and then i get.
          > > >
          > > > C:\BensHome\BensPerl>perl test.pl
          > > > "SelTabItemText" is not exported by the Win32::GuiTest module
          > > > Can't continue after import errors at test.pl line 7
          > > > BEGIN failed--compilation aborted at test.pl line 16.
          > > >
          > > > C:\BensHome\BensPerl>
          > > >
          > > > Could you help
        Your message has been successfully submitted and would be delivered to recipients shortly.