Win32-GuiTest
view release on metacpan or search on metacpan
lib/Win32/GuiTest.pm view on Meta::CPAN
If a boolean parameter is set, changes the semantics flag for functions
that return results of either A or W syscalls. If the parameter is
not set, returns the current value of the flag.
=back
=head1 DEVELOPMENT
If you would like to participate in the development of this module there are
several thing that need to be done. For some of them you only need Perl
and the latest source of the module from CVS for others you'll also need to
have a C++ compiler.
To get the latest source code you need a CVS client and then do the following:
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/winguitest login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/winguitest co Win32-GuiTest
See more detailed explanations here http://sourceforge.net/projects/winguitest/
=head2 cygwin
g++ needs to be installed
perl Makefile.PL
make
make test
make install
=head2 MSVC environment
To setup a development environment for compiling the C++ code you can either buy
Visual Studio with Visual C++ or you can download a few things free of charge from
Microsoft. There might be other ways too we have not explored.
The instructions to get the free environment are here:
From http://www.microsoft.com/ download and install:
1) Microsoft .NET Framework Version 1.1 Redistributable Package
2) .NET Framework SDK Version 1.1
This is not enough as there are a number of header files and libraries that are
not included in these distributions. You can get them from Microsoft in two additional
downloads. For these you will have to be using Internet Explorer.
Visit
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
and install
1) Core SDK
2) Microsoft Data Access Components 2.7
Before you can compile you'll have to open a command prompt and execute the
C<sdkvars.bat> script from the.NET SDK that will set a number of environment
variables. In addition you'll have to run the C<setenv.bat> you got with the
Core SDK (and located in C:\Program Files\Microsoft SDK) with the appropriate
parameters. For me this was /XP32 /RETAIL
In order to finish the packaging you'll also need the tar, gzip and zip utilities from
http://gnuwin32.sourceforge.net/packages.html
I have not tried it yet.
After this you will probably be able to do the normal cycle:
perl makefile.pl
nmake
nmake test
or run
perl makedist.pl
=head1 SEE ALSO
Module's documentation is available at L<http://www.piotrkaluski.com/files/winguitest/docs/index.html>.
=head1 TODO
Here are a few items where help would be welcome.
=head2 Perl only
Improve Tests
Improve documentation
Add more examples and explain them
=head2 C++ compiler needed
Add more calls to the C++ backend
Fix current calls
32bit custom controls (some already implemented)
Possibly Java interfaces
Retreive the list of the menu of a given window.
=cut
=head1 COPYRIGHT
The SendKeys function is based on the Delphi sourcecode
published by Al Williams E<lt>http://www.al-williams.com/awc/E<gt>
in Dr.Dobbs E<lt>http://www.drdobbs.com/keys-to-the-kingdom/184410429E<gt>.
Copyright (c) 1998-2002 Ernesto Guisado, (c) 2004 Dennis K. Paulsen. All rights
reserved. This program is free software; You may distribute it and/or modify it
under the same terms as Perl itself.
=head1 AUTHORS
Ernesto Guisado (erngui@acm.org), http://triumvir.org
Jarek Jurasz (jurasz@imb.uni-karlsruhe.de), http://www.uni-karlsruhe.de/~gm07 wrote
( run in 1.099 second using v1.01-cache-2.11-cpan-2398b32b56e )