I'm using a small C webserver. I'm doing some of the actual request processing with C# libraries.
I'm using a glue layer which appears to be written in something close to c++ to join the two worlds. It provides a 'public ref class' which I can derive from in the C# world.
If I want to derive several different classes from this in C#, how do I create instances of these derived classes from the C/C++?
What information (the class name? A factory function?) shoud I pass (and and in what form) from the C# to the C/C++ code?
I would like a solution compatible with .NET 2.0, and I'm using Visual Studio 2008 to create my code.