warning C28639: Calling close handle with string

The function CloseHandle takes a void * parameter. It is possible to cast (among other things) a string pointer to a void * and pass it as an argument when the intention was to pass a handle opened using the string.



Send comments about this topic to Microsoft

© 2014 Microsoft. All rights reserved.