Combing COM dll and C# assembly in sigle assembly

  • Thread starter Thread starter MV
  • Start date Start date
M

MV

I have a com dll and I need to access it in .Net/C#
client.Additional requirement is to have com dll and
C#/.Net control in single assembly/dll.
The effords is not to deploy the com dll seperately in
order to run .Net/C# control in client machine.
Can Multifile assembly work for this solution. If so, how
we can go about it.
 
Don't know how interop actually works and whether it uses COM the way it was
designed.
But if that is so, it won't be possible. Cause COM has its own set of
loading mechanism and runtime.
If interop uses COM SCM to load the COM object in memory adding an assembly
is not the best thing to do
cause that would invalidate the way COM SCM registers the object and loads
it.

But its possible that there could be a way around. Good luck hunting..

Hermit Dave
 
Back
Top