I am wondering what the capabilities of C++ are for launching executables. I would like to create a simple launcher for one of my projects. It would need to launch a program in the same folder. The launched program needs to be run maximized and in Windows 98 compatibility mode. Is this possible, and would there be a simple code snippet that could show me how to do this?

You can use the CreateProcessW function to spawn an executable process. You will be able to find all the information you need about it on the MSDN

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.