Skip to main content
GameDev.net gamedev.net
🔒 Locked

Binding and Late Binding

Started by Hamlet Apr 18, 2002 at 8:20 PM 3 replies 350+ views
Original Post
Hamlet
Hamlet
Can anyone provide a good definition for binding and late binding? I have searched my book and there seams to be no concrete definition. The book is "How to program C++" by Deitel and Deitel. Thanks "... thats the rub...
"... thats the rub...
Shannon Barber
Shannon Barber
Late binding refers to virtual functions (in C++ anyway), which means what function is invoked isn''t decided until run-time.

Binding is the term used to describe the process of resolving a function name to actual code.
The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Hamlet
Hamlet
That makes since.

Thanks
"... thats the rub...
Shannon Barber
Shannon Barber
There''s more than two kinds of binding, but the different kinds are often called the same thing.

The office automation binding can either be late or ''dynamic'', it can use virtual functions or IDispatch (kinda like script execution). Sometimes virtual functions are considered early binding - usually when you''re talking about IDispatch or similar "very late" dynamic binding.

Magmai Kai Holmlor

"Oh, like you''ve never written buggy code" - Lee

[Look for information | GDNet Start Here | GDNet Search Tool | GDNet FAQ | MSDN RTF[L] | SGI STL Docs | STFW | Asking Smart Questions ]

[Free C++ Libraries | Boost | ACE | Loki | MTL | Blitz++ ]

Shamelessly ripped from Oluseyi
The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.