Home All Groups Group Topic Archive Search About

What is cleanestway to remove Binary Compatibility?

Author
14 Jun 2009 5:13 PM
Howard Kaikow
I was compiling a DLL using binary compatibility. but then I decided to
change the name of a property.
Do I have to revert back to No Compatibility until I stop changing property
names?

I have reverted to No Compatibility, yet the reference to the old property
name still exists and the new property name is not recognized.

As we speak, I'm going thru the registry to try to delete all references to
the class.

What was the right way to do this?

Author
14 Jun 2009 5:26 PM
MikeD
Show quote Hide quote
"Howard Kaikow" <kai***@standards.com> wrote in message
news:%23zWmvNR7JHA.3592@TK2MSFTNGP02.phx.gbl...
>I was compiling a DLL using binary compatibility. but then I decided to
> change the name of a property.
> Do I have to revert back to No Compatibility until I stop changing
> property
> names?
>
> I have reverted to No Compatibility, yet the reference to the old property
> name still exists and the new property name is not recognized.
>
> As we speak, I'm going thru the registry to try to delete all references
> to
> the class.
>
> What was the right way to do this?


Not really.  Easiest way would have been regsvr32.exe to unregister your
previous DLL. If you still have that DLL (haven't deleted it or overwritten
it with a newly compiled version), you can still use regsvr32.exe.

--
Mike
Author
14 Jun 2009 5:44 PM
Howard Kaikow
"MikeD" <nob***@nowhere.edu> wrote in message
news:e%23yq1UR7JHA.5932@TK2MSFTNGP03.phx.gbl...

> Not really.  Easiest way would have been regsvr32.exe to unregister your
> previous DLL. If you still have that DLL (haven't deleted it or
overwritten
> it with a newly compiled version), you can still use regsvr32.exe.

Ayup, I have a .bat to do that, but I foolishly had deleted the DLL.