How to send keyboard input to dos application running in window mode in Windows98
问题 My question is about very antique techologies. I have a task to automate old DOS software (spectrometric) that is running in Windows mode in Windows 98. I made two different solution hovewer both of them doesn't work with DOS application : First Solution Making DOS Application active Sending input via SendInput function, like this: void MossbauerLab::Sm2201::SaveManager::AutoSaveManager::sendKeysViaInput(const std::vector<DWORD>& keys, int keyPause) { std::vector<DWORD>::const_iterator it;