ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl.net
perl.net
Perl.NET and com libraries
by Severan Rault other posts by this author
Aug 24 2004 7:44AM messages near this date
view in the new Beta List Site
[Zope] Re: Java class doesn't load correctly under windows | RE: Perl.NET and com libraries
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
Thread:
Severan Rault
Jan Dubois
Severan Rault
Jan Dubois
Severan Rault
Severan Rault

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved