C++ best way to launch another process?

The requirement is:
I have to update a XML file(I did it using xerces).
Then want to run another process(exe file) by giving above updated XML file as a input parameter.


Thank you coder777 for the reply.

Don't want to use the boost lib.

I have tried shellexecuteA() function but for that I need to include "windows.h".
But after including "windows.h" I m getting lots of compile errors.

So finally, I have used std::system() function.
Registered users can post here. Sign in or register to post.