K
Ken Allen
We have recently created a new architecture for a product that now
implements all of our user-space code in C#, which makes it much faster
and easier to develop! There are a number of services which are
installed on a central server and some client applications that
communicate using remoted objects with business rule methods. This is fine.
I was just informed that one of our major clients (one who is eager to
adopt the new implementation and is even funding parts of it) has
decided that they want to continue to use some of their legacy
applications with the new system. They are willing to change the code in
their applications to talk to the new system -- but all of theor legacy
applications are written in plain C! Not C++, just C.
I am wondering if it would be possible to develop a managed C++ DLL that
they could link into their code that would permit them to make C type
calls into the DLL, which could then use managed C++ to communicate with
the C# remoted objects. Their code does not work with COM or anything
else, so plain C methods is the preferred interface. Can this be done?
How? Where can I find information on this? Are there other alternatives?
-ken
implements all of our user-space code in C#, which makes it much faster
and easier to develop! There are a number of services which are
installed on a central server and some client applications that
communicate using remoted objects with business rule methods. This is fine.
I was just informed that one of our major clients (one who is eager to
adopt the new implementation and is even funding parts of it) has
decided that they want to continue to use some of their legacy
applications with the new system. They are willing to change the code in
their applications to talk to the new system -- but all of theor legacy
applications are written in plain C! Not C++, just C.
I am wondering if it would be possible to develop a managed C++ DLL that
they could link into their code that would permit them to make C type
calls into the DLL, which could then use managed C++ to communicate with
the C# remoted objects. Their code does not work with COM or anything
else, so plain C methods is the preferred interface. Can this be done?
How? Where can I find information on this? Are there other alternatives?
-ken