I have seen in lots of tutorial about closing the handle after making use of it and before closing the application. Why it is necessary to close the handle?
It will tend to depend on what the handle is. Memory handles are usually de-allocated, in many cases window handles are automatically de-allocated. Tell us what you have in mind and we can probably help you to find the reference material.
maybe this will help...
http://www.masm32.com/board/index.php?topic=17600.msg148139#msg148139
Because it's good manners. :P
If I remember correctly... a handle is actually a reference to a memory location, the use and size of this 'object' depends on its context.
Not closing the handle means you're not releasing memory and this will eventually cause a memory overrun/leak/crash.
:8)