Wayne said:
So from what I can tell this HAS to be done through Com, which results in
the C# Assembly being registered on the machine in question, is this
correct?
Is your application written in C++ or VB6?
If it's C++ you could go down either the managed C++ route or the COM route.
(NB you wouldn't have to make your application managed to use MC++; you
could use a bridging DLL instead).
If it's VB6 the COM is probably the best route although you could use a C++
bridging DLL and import it, but that wouldn't be pretty.
So no, a registered COM DLL is not your only option.
Here's an example I was involved with recently:
MFC application of about 500 KLOC. Wanted to use a C# component, and embed
it in an MFC view. We first tried turning on managed extensions, but that
increased the link time by about 10 minutes. The approach we are now using
is a partially managed bridging DLL, talking unmanaged to the MFC side, and
managed to C#. Nothing registered at all.
Stu