I have written a script in perl to access COM server
Below is the script::
import Win32::OLE;
import Win32::OLE qw(EVENTS);
use Win32::OLE::Variant;
use win32::OLE;
use Win32::OLE qw(EVENTS);
#my $TM = Win32::OLE->new ('TestInterfaceCOM.COMServComponent');
my $TM = Win32::OLE->new ('COM Server name');
if( Win32::OLE->LastError() )
{
print "Error creating the .NET COM Server: ". Win32::OLE->LastError();
}
#my $num;
#$TM ->Test();
#$TM ->HelloWorld("Hi hello");
Im getting the below error while running the script or creating the .NET COM Server: Win32::OLE(0.1403) error 0x80004002: "No suc
h interface supported"
Please help