Hi
I am trying to use a COM lib with Perl.NET.
C# works fine but when I had the reference to Perl.NET plc report and
error:
C:\Perl\bin\plc.exe
-out="c:\cygwin\home\severan\projects\vs\smsc_test\smsc_test.exe"
-reference="C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\\System.dll"
-reference="C:\Program Files\SMSCSDK\SMSCCSDK.dll" -target="exe"
--force --script "smsc_test.pl"
PerlNET 5.3.0 build 530
Copyright (C) 1998-2003 ActiveState Corp. All rights reserved.
ActiveState is a division of Sophos Plc.
System.BadImageFormatException: The format of the file 'SMSCCSDK.dll' is
invalid.
File name: "SMSCCSDK.dll"
at System.Reflection.AssemblyName.nGetFileInformation(String s)
at System.Reflection.AssemblyName.GetAssemblyName(String
assemblyFile)System.NullReferenceException: Object reference not set to an
instance of an object.
smsc_test has errors.
It seam that Plc only support assembly... is that the case ?
Thanks
Severan
_______________________________________________
Perl.NET mailing list
Perl.NET@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs