469,950 Members | 2,348 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

Calling Perl from C#.

Hello group,

I had a COM dll in VC 6.0 which my Perl 5.8 modules used to call.
With the .Net invent I would like to wrap up my COM functionality into C#.
I wanted to know how can my Perl modules call the C# exe?

Thanks,
Dave

P.S : AFAIK, Perl is also interoperable with the .Net languages.
Nov 15 '05 #1
6 9965
Hello Dave,

Check out Perl.Net from active state that should allow you to call C#
from Perl

http://www.activestate.com/Corporate...arch.html?_x=1

regards,
Abhishek.

Dave R wrote:
Hello group,

I had a COM dll in VC 6.0 which my Perl 5.8 modules used to call.
With the .Net invent I would like to wrap up my COM functionality into C#.
I wanted to know how can my Perl modules call the C# exe?

Thanks,
Dave

P.S : AFAIK, Perl is also interoperable with the .Net languages.


Nov 15 '05 #2
Hi

Python for .NET is a near-seamless integration of the
CPython runtime with the .NET Common Language Runtime
(CLR). It lets you script and build applications in
Python, using CLR services and components written in any
language that targets the CLR (C#, Managed C++, VB.NET,
etc.).

for further details check the following link
http://www.zope.org/Members/Brian/PythonNet

Ravikanth[MVP]

-----Original Message-----
Hello group,

I had a COM dll in VC 6.0 which my Perl 5.8 modules used to call.With the .Net invent I would like to wrap up my COM functionality into C#.I wanted to know how can my Perl modules call the C# exe?

Thanks,
Dave

P.S : AFAIK, Perl is also interoperable with the .Net languages.

.

Nov 15 '05 #3
Hi Dave,

You can use COM Interop and expose your .NET Assemblies as COM objects.
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconexposingnetframeworkcomponentstocom.asp?frame =true
Then, you can use those object from perl.
--
DaigoH, C# Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

--------------------
From: "Dave R" <dr**@hotmail.com>
Subject: Calling Perl from C#.
Date: Wed, 24 Sep 2003 14:01:43 +0530
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <OR**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: 203.199.147.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:186985
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

Hello group,

I had a COM dll in VC 6.0 which my Perl 5.8 modules used to call.
With the .Net invent I would like to wrap up my COM functionality into C#.
I wanted to know how can my Perl modules call the C# exe?

Thanks,
Dave

P.S : AFAIK, Perl is also interoperable with the .Net languages.


Nov 15 '05 #4
Hi Dave,

You can use COM Interop and expose your .NET Assemblies as COM objects.
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconexposingnetframeworkcomponentstocom.asp?frame =true
Then, you can use those object from perl.
--
DaigoH, C# Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

--------------------
From: "Dave R" <dr**@hotmail.com>
Subject: Calling Perl from C#.
Date: Wed, 24 Sep 2003 14:01:43 +0530
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <OR**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: 203.199.147.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:186985
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

Hello group,

I had a COM dll in VC 6.0 which my Perl 5.8 modules used to call.
With the .Net invent I would like to wrap up my COM functionality into C#.
I wanted to know how can my Perl modules call the C# exe?

Thanks,
Dave

P.S : AFAIK, Perl is also interoperable with the .Net languages.


Nov 15 '05 #5
Thank you all for your useful replies.

--
Best regards,
Dave
Nov 15 '05 #6
Thank you all for your useful replies.

--
Best regards,
Dave
Nov 15 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mike Bobbitt | last post: by
6 posts views Thread by Richard Trahan | last post: by
3 posts views Thread by Shiraz | last post: by
3 posts views Thread by David Bear | last post: by
5 posts views Thread by rahulthathoo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.