Combing COM dll and C# assembly in sigle assembly

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.
 
H

Hermit Dave

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top