Re: Creating C# components to be usable with multiple languages
- From: "Ignacio Machin \( .NET/ C# MVP \)" <machin TA laceupsolutions.com>
- Date: Fri, 25 Jan 2008 09:46:56 -0500
Hi,
You can make your library callable like a COM component,
I do not know if Perl support COM (I assume it does)
I did this a time ago to be able to run .NET code from ArcGIS. Take a look
at tis link:
http://www.orcca.on.ca/~elena/useful/CallingDotNetCodeFromCom.html
--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
<zorrothefox.groups@xxxxxxxxx> wrote in message
news:d6169630-3907-445a-b3aa-7b446c857f4a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am currently working on a project that requires some key
functionality to be implemented as a c# class library. This is
currently only called from a C# GUI Application. Now the scenario is
that we need this class library to be callable from a c# GUI, a c++
com client, or a Perl script.
My first question is, is this possible? If so, how do I go about
changing the c# class library to achieve this.
My second question is:
I need to support callback functions in this
class library. For example, the c++ client might call a function
Analyze() in the c# class library. Now, this Analyze() is a very
length operation. So, it'd be good if the C# library could call back a
function in my c++ client once in a while (say to update a progress
indicator). How would I go about supporting this? It'd also be great
if I could implement this in a way where even a perl script (say)
could be called back.
I don't know if I'm asking for too much here. Any tips, or references
are appreciated. Though even detailed step-by-step information would
be welcome ;-)
Thanks in advance,
Bharat.
.
- References:
- Creating C# components to be usable with multiple languages
- From: zorrothefox . groups
- Creating C# components to be usable with multiple languages
- Prev by Date: Change selected node color and expand it
- Next by Date: Usb Classes in VS 2008?
- Previous by thread: Re: Creating C# components to be usable with multiple languages
- Next by thread: Re: Creating C# components to be usable with multiple languages
- Index(es):
Relevant Pages
|