![]() (I have gotten system() to open up the program, but not close it) ![]() The reason I have become so adamant on using the CreateProcess function is because as I understand it has the ability to close an application which it opens, a feature which ( also if I have gathered correctly) cannot be done using system(), which is ultimately what I am trying to do. I was hoping to find a sample program of this used somewhere in its most basic form to open up, say, the windows calculator. I have been trying that syntax code out as a sort of "stencil" I guess, attempting to place the correct directory in the applicationname section, but not getting much of anywhere. I see it repeatedly on this forum, and it has been praised more than once as a great source for understanding the createProcess function, but I still have much to understand, even with the explanations given for the individual lines of the syntax code. Which has begun to clear up this question for me. I searched the forums, and came up with this page: ![]() I'm having a few problems understanding the syntax of using the CreateProcess() function. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |