gsmurthy30
July 30th, 2008, 01:42 AM
My scenario is like this.
I have to develop an unmanaged DLL (in C++) which will run as part of Application1. "MyDLL" will export functions using __declSpec(dllexport) and make them available to Application1.
i have another Application2 which is in C#. Application2 uses .NET remoting to achieve inter-process communication. It offers APIs to invoke it, and interact with it for data transfer, etc.
From within "MyDLL", I need to call these C# APIs and invoke Application2 (which obviously runs as seperate process, I suppose), and do data transfer to and fro.
I think .NET remoting requires applications on both sides to be developed in C#. Whereas, "MyDLL" here is a C++ DLL.
I request someone to suggest how to achieve this.
I have to develop an unmanaged DLL (in C++) which will run as part of Application1. "MyDLL" will export functions using __declSpec(dllexport) and make them available to Application1.
i have another Application2 which is in C#. Application2 uses .NET remoting to achieve inter-process communication. It offers APIs to invoke it, and interact with it for data transfer, etc.
From within "MyDLL", I need to call these C# APIs and invoke Application2 (which obviously runs as seperate process, I suppose), and do data transfer to and fro.
I think .NET remoting requires applications on both sides to be developed in C#. Whereas, "MyDLL" here is a C++ DLL.
I request someone to suggest how to achieve this.