I recently discovered FindClose and realized that I had been using FindFirstFile w/o ever closing the handle. Since the program ran OK before I used FindClose, I have a question: What problems could that omission have caused. Also, what problems could you expect if you forget to close any other handle? Just curious, I don't intend to stop closing my handles.
:bg
Depending on your sense of humour, the next Dork at Microsoft who has to revisit the code may change the way it works if you are not using the exact documented technique. If you were running it for a long time you could run out of handles eventually.
When your process closed the OS did the did clean up from newbie programming techniques. :naughty:
Regards, P1 :8)
Hmm.... Microsoft was actually "thinking outside the box" there. Or should I say, "thinking outside the segment." :lol