Subject: | Win32-OLE-OPC |
The Code:
#!C:/Perl/bin/perl.exe -w
use strict;
use Win32::OLE::OPC;
my $opcintf = Win32::OLE::OPC->new('KEPware.KEPServerEx.V4');
$opcintf->MoveToRoot;
Run this command
C:\Perl\Prog>perl OPCclient.pl
the result:
Failed to connect to dispatch DLL KEPware.KEPServerEx.V4 at
OPCclient.pl line 5
why?