By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,882 Members | 928 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,882 IT Pros & Developers. It's quick & easy.

COM Interop issue.

P: n/a
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.
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.

"Frank Rizzo" <no**@none.com> wrote in message
news:O9**************@TK2MSFTNGP10.phx.gbl...
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.

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.