G
Guest
I have 3rd party dll plugin COM interface, when loaded executes the following
functions.
public class Test: IPlugin
{
public void Innitialize(IPluginApp obj, int pluginHandle)
{
//gets the plugin obj dynamically to work with third party application.
//can be added events etc.
}
public shutdown()
{
//this is executed with plugin is terminated.
}
}
I have our application written in c# that should reference this plugin
assembly
and send some data to plugin from outside. But my problem is im unable to
send
data to plugin from outside that assembly. Plugin should accept the data and
do
further processing using IPluginApp object. IPluginApp object is null
outside that
Innitialize method. I am unable to create copy of that object using late
binding
concepts as that is an interface pointer. Can anyone suggest me some
techniques
to send data to plugin from outside.
functions.
public class Test: IPlugin
{
public void Innitialize(IPluginApp obj, int pluginHandle)
{
//gets the plugin obj dynamically to work with third party application.
//can be added events etc.
}
public shutdown()
{
//this is executed with plugin is terminated.
}
}
I have our application written in c# that should reference this plugin
assembly
and send some data to plugin from outside. But my problem is im unable to
send
data to plugin from outside that assembly. Plugin should accept the data and
do
further processing using IPluginApp object. IPluginApp object is null
outside that
Innitialize method. I am unable to create copy of that object using late
binding
concepts as that is an interface pointer. Can anyone suggest me some
techniques
to send data to plugin from outside.