Z
zorrothefox.groups
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.
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.