Hey folks,

I'm trying to figure out how to use the SetupSup module(
http://jenda.mccann.cz/perl/Setupsup.pm.html).

The particular function I'm trying to use is:

WaitForWindow($title, \$window, $timeout, [$refresh]) 

Here's my code:

####

use Win32::Setupsup;

$title=Notepad;


Win32::Setsup::WaitForWindow($title, \$window, "10000", "100");

print "Window is there\n";

####

The script then errs out with:

Usage:  Win32::Setupsup::WaitForWindow($title, \$window, $timeout,
[$refresh]) 

Any ideas why it's doing this?  I'm able to do the EnumWindows function fine
and print out all the Window names.  But I don't understand what \$window is
or how to return it.

Thanks,

James





---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to