it. I'm sure the Win32:OLE module is correctly installed, since the
test scripts work, and so do the ones from the Roth book.
Celeste Suliin Burris
Systems Administrator
Tacoma Economic Development Department
Phone - 253-591-5093
Email - [EMAIL PROTECTED
Unfortunately, that doesn't work either. I think I tried it before in
my thrashing around.
Thanks for the help, anyway
On Nov 5, 2004, at 13:02, Jan Dubois wrote:
On Fri, 05 Nov 2004, Celeste Suliin Burris wrote:
testtext = gp.Usage(Buffer_analysis)
...
$testtext = $gp-{Usage}-(Buffer_analysis
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Celeste Suliin Burris
Sent: Friday, November 05, 2004 3:57 PM
To: [EMAIL PROTECTED]
Subject: Convert Python Com Code to Win32::OLE
I'm a Unix systems administrator who is making the transition to
Windows. I am trying to access some COM
, this is the simplest sample in the book...
use Win32::OLE;
my $Class = esriGeoprocessing.GpDispatch.1;
my $gp = Win32::OLE-new($Class)
|| die Could not create a COM '$Class' object;
my $testtext = $gp-Usage('Buffer_analysis');
print $testtext;
On Nov 5, 2004, at 15:15, Celeste Suliin Burris wrote