[Solved] The Command CreateProcess C++
If you just want to open an existing image using defualt app then use ShellExectue API. For example: ShellExecuteW(NULL, L”open”, L”Z:\\cat.PNG”, NULL, NULL, SW_SHOW); You could also open image with mspaint using the same API: ShellExecuteW(NULL, L”open”, L”C:\\Windows\\system32\\mspaint.exe”, L”Z:\\cat.PNG”, NULL, SW_SHOW); ShellExecuteEx will let you wait for finishing process. You can do the same using … Read more