What is the difference between early binding and late
binding?

Answer Posted / divit kumar

Late binding is implemented when you do not know which function will be called, though early binding is faster then latebinding.
(Early Binding is also called static binding or compile time binding)
(Late Binding is also called dynamic binding or runtime binding)
danishvbr[at]yahoo.com
.
.
Early binding determines execution path at compilation and late binding allows for dynamic execution at runtime.
for example: In a native Win32 code environment (i.e., non .NET), late binding could refer to the use of a DLL library vs. the use of a static library - all the references in a static library can be determined at compile time, but the references in a DLL (dynamic link library) are not determined later until run time. In a .NET environment, late binding could refer to the use of System.Reflection

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the steps in Creating ActiveX Dll and Active Exe?

1700


What are the uses of List View Control?

1553


What is shortcut menu and explain "The ole control's shortcut menu".

551


Explain Types of DBCombo boxes?

594


What is the-use of property page Wizard in ActiveX Control?

1538






Scope of API?s can be of different types, what are they Why API functions are Required?

1476


Which method is preferred to save data like database to the disk?

1523


Is a foo VBX/DLL available as shareware/freeware?

1169


How can I call a 'hidden' DOS program from VB?

1015


Discuss the working with to-do lists.

575


How many ways you can access file using VB?

571


How do I dial a phone number without using the MSCOMM VBX?

1263


Explain the types of Views in Listview Control.

2306


What is the Windows API?

1002


What are the rules which should be followed while naming a variable in VB?

540