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

Explain OLE Drag and Drop?

2134


Explain about trees structures work.

706


Is it possible to Manipulate data through flexgrid? Explain.

2137


How many types of API functions are available in VB?

1980


How do I use GetPrivateProfileString to read from INI files?

1066






How can you save and Get data from Clipboard/ Recordset object consists what?

642


Explain the working of templates?

651


How would you create properties by using class Builder Wizard?

1565


What is DAO?

1682


what are the types of cursors in DAO?

1495


How can I create a VBX?

1188


What is difference between datagrid and flexgrid?

12852


Draw Sequence Modal of DAO? Explain.

1791


what are the Types of LockEdits in RDO?

1755


Through which protocol OLEDB components are interfaced?

1795