C++ console question
Sorry but I am new to C++ and work mainly in VB.net
How can I Code my Console app to wait for my games process to be opened ?
I have tried some do whiles but they failed .
And I have looked for an example but have not found one that is right .
Everything else is working correctly I just can not seem to get that part correct .
Please remember I am very very new to the c language .
And i never really tried to code any project to wait for an .exe i would just have it throw an error message .
Any decent example would be great thank's .
convert this logic into C++:
while the handle is invalid keep looping and call the openhandle function.