Project Compatibility and Binary Compatibility

What is Compatibility? When do you use which compatibility? What are the primary differences between project compatibility and binary compatibility?

Questions by sathish.piskala

Showing Answers 1 - 2 of 2 Answers

Used for COM component. there are 3 type of comatibility - No Compatibility, Project Compatibility, Binary Compatibilty. we have to set Compatibility for COM Component.

No Compatibility means when you compile your component each time near GUIDs, CLASS IDs will be created.

project Compatibility means Component is class ID will not change only new Interface id will be generated.

Binary Compatibility - VB will not change any of the existing class, interface or type library ID’s.

we should always set Binary compatibility for Live projects.

Pls have look on below URL for Better understanding -

visibleprogress . com/vb_binary_compatibility . htm

  Was this answer useful?  Yes

Paul_G

  • Jun 13th, 2009
 

Its also important to realise that if you set your project to binary comaptability and ADD additionally to the interface, this will not break the interface. You will break the interface if you alter the signature in any way.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions