Creating COM Assembly with interfaces only

L

Lalit

Hi All,

I have created an assembly (dll) that only has Interfaces and does not
contain any class. I want to expose these interfaces to COM Clients.
It was compiled successfully with warning that there is no types that can be
registered.
then I used regasm.exe to generate tlb and register it, it registered but
when uninstalling it again give error "No types were un-registered".

Am I missing something?
Is it possible to do it?

Lalit
 
W

Willy Denoyette [MVP]

Lalit said:
Hi All,

I have created an assembly (dll) that only has Interfaces and does not
contain any class. I want to expose these interfaces to COM Clients.
It was compiled successfully with warning that there is no types that can
be
registered.
then I used regasm.exe to generate tlb and register it, it registered but
when uninstalling it again give error "No types were un-registered".

Am I missing something?
Is it possible to do it?

Lalit

You should not register the interface only assembly , you have to register
the assembly that contains the implementation.

Willy.
 

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