Page 1 of 1

What is Handle ??

Posted: Tue Jun 05, 2012 3:39 pm
by Live24x7
What is Handle in general programming context ?
I am coming across this term often when reading about design patterns.

thanks

Re: What is Handle ??

Posted: Tue Jun 05, 2012 7:25 pm
by califdon
"In computer programming, a handle is an abstract reference to a resource."
You will find answers to questions like this in Wikipedia, among other places:
http://en.wikipedia.org/wiki/Handle_%28computing%29

Re: What is Handle ??

Posted: Sat Jun 16, 2012 10:40 am
by Christopher
phpdevelopment wrote:a handle is a token, typically a pointer
I think the main distinction between a handle and a pointer is that a handle does not refer directly to a memory address. That makes any memory associated with the handle relocatable -- unlike a pointer.