Hello
Sorry for my english and thanks for yours time.
I have been proving working with different programs which the module
WIN32:OLE until yesterday.
Today suddenly when returning to execute them me apair in all the same
error.
This is example of program and error:
�������������������������������������������
THE PROGRAM
use strict;
use warnings;
use Win32::OLE;
my $app = Win32::OLE->CreateObject('Word.Application');
$app->{Visible} = 1;
my $doc = $app->{Documents}->Open('m:\test.doc');
print $doc->{Content}->{Text}, "\n";
use strict;
use warnings;
use Win32::OLE;
my $app = Win32::OLE->CreateObject('Word.Application');
$app->{Visible} = 1;
my $doc = $app->{Documents}->Open('/path/to/word.doc');
print $doc->{Content}->{Text}, "\n";
__END__
�������������������������������������������
THE ERROR
U:\usr\local\etc\httpd\cgi-bin\portal\cgi-lib\exportar>perl -w PRUEBA5.cgi
Win32::OLE(0.1502) error 0x80070725: "Versi�n incompatible del stub RPC"
in PROPERTYPUT "Visible" at PRUEBA5.cgi line 6
Win32::OLE(0.1502) error 0x80070725: "Versi�n incompatible del stub RPC"
in METHOD/PROPERTYGET "Documents" at PRUEBA5.cgi line 7
Can't call method "Open" on an undefined value at PRUEBA5.cgi line 7.
U:\usr\local\etc\httpd\cgi-bin\portal\cgi-lib\exportar>pause
Thanks From Barcelona Spain
Diego
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs