horsicq / DIE-engine

DIE engine
MIT License
2.29k stars 317 forks source link

Suggest to support calling a third-party program to open the target file #76

Open StrollStars opened 1 year ago

StrollStars commented 1 year ago

This is convenient to directly call the third-party program to continue processing the target file.

horsicq commented 1 year ago

Interesting idea. I will think about it.

modz2014 commented 6 months ago

you can already do this example

            std::wstring programPath = directoryPath + L"die.exe";
            LogMessage(L"Program path: " + programPath); // Log the program path
            HINSTANCE hInstance = ShellExecute(NULL, NULL, programPath.c_str(), parameters.c_str(), NULL, SW_SHOW);