Release STDHandle?
I have in a while loop a drawing function for the console. This gets a STD handle to the console but never releases it. Does it need to be released?
I played around with DirectX before and I had to release every handle I got, so I am wondering if its the same case for a console.
++postcount;
No, you dont have to release it. This handle stays around for the whole lifetime of the console window -
GetStdHandle
just gives you access to it.
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement