Home > Back-end >  CreateprocessW function leak process information handle how to solve the error warning, see below an
CreateprocessW function leak process information handle how to solve the error warning, see below an

Time:11-04



In this program, I default unicode, so the createprocess function is wide character createprocessW function, runtime warning appears, I want to know why appear this warning, and how to solve the warning dangerous????

CodePudding user response:

I know you can add 2 lines of code get rid of the problem, but what is society meaning, can anyone tell me?
The CloseHandle (PI. HProcess);
The CloseHandle (PI. HThread);
  • Related