Questions tagged [early-binding]

Early binding is a mechanism in which objects are declared to the compiler as being of a specific type.

Early binding is a mechanism in which objects are declared to the compiler as being of a specific type.

The specific type of an early bound object is known to the compiler at compile time. This means the compiler can determine if method calls are valid, before a program is run by an end user. This is contrasted with late binding, where objects are declared generically and errors are caught during runtime.

It is expected that questions tagged specifically relate to programming using early bound code. You should also tag your post with the specific programming language being used.

Example (VBA):

' early bound objects are declared as a specific type
Dim obj As Excel.Application
Set obj = CreateObject("Excel.Application")

Related Tags:

64 questions
0
votes
1 answer

CRM development - early bound approach supporting multiple organizations

We are facing the problem when we would like to develop a CRM library (manager) in C# which will support the communication with more than one CRM systems - i.e. the situation when you are running more than one CRM instances at once (e.g. two…
Pavel Cermak
  • 1,215
  • 10
  • 13
-1
votes
1 answer

Late Binding Issue with "MSXML2.XMLHTTP60"

I am getting a Run-time error '429': ActiveX component can't create object error when I try to run the following code. Option Explicit Private Sub EarlyVsLateBinding() ' References to both the Microsoft Scripting Runtime and Microsoft XML,…
TehDrunkSailor
  • 633
  • 4
  • 11
-1
votes
1 answer

Auto switching between multiple versions of referenced assemblies

I need to reference EmguCV from a solution containing one C# WinForms project. There are four versions of the same library i.e. x86 vand x64, each with and without GPU support. The library requires references to EmguCV's managed DLLs as well as…
Raheel Khan
  • 14,205
  • 13
  • 80
  • 168
-2
votes
2 answers

Declaring static method is allowed in java what are the advantage of doing so

What is the advantage of having static method and default method introduced in java 8 as i found it will add complexity and ambiguity in your code. Please bring some light on this.
CodingRat
  • 1,934
  • 3
  • 23
  • 43
1 2 3 4
5