COM Interop issue.

  • Thread starter Thread starter Frank Rizzo
  • Start date Start date
F

Frank Rizzo

I have my .NET library which I want to call from VB6. Everything works
great, except that everytime I recompile my .NET lib and regasm it, the
binary compatibility is broken and I have to rereference from VB6 and so
forth.

How do I make my .NET lib keep binary compatibility (i.e. guid, etc...).

Thanks.
 
You might want to try adding your own GUIDs to interfaces and classes to
keep them constant. Get a guid (using guidgen or the VS.Net IDE Tools menu)
and

<GuidAttribute("AF06421E-F197-4be4-8842-3EE44D3C6E89")> _
Public Class TestObject

You can do the same to your interfaces.
 
Back
Top