Creating COM Assembly with interfaces only

  • Thread starter Thread starter Lalit
  • Start date Start date
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
 
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.
 
Back
Top