|
-
Oct 16th, 2001, 09:34 PM
#1
Thread Starter
Member
Interface Versioning
Can anyone let me know what is the meaning of version interfacing? I read about it and still confuse what it is all about.
Is it got to do with the thing when we set the project with project compability or binary compatibility?
-
Oct 17th, 2001, 04:20 PM
#2
Suppose you have an interface called IEida1.
Don't make changes to it. Put all the changes into IEida2. If you change IEida1 you will break binary compatibility.
By adding the new stuff to IEida2 you let the old code go merrily on it's way. And the new code that can use IEida2 gets extra functionality. In other words, your new code supports both the old & the new interface, without changing the old one.
This is like OLE 1.0 vs OLE 2.0 -- 2.0 supports all of 1.0 plus new interfaces.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|