I want to write a 32-bit windows app that can read the text displayed by an old DOS game - should I be hooking into standard output somehow, or do I need to find the video memory somewhere in the ntvdm process and read that, or something else?
any suggestions appreciated
Hy,
If it's standard output you want to read. I've tried the attached CreateProcessAndRedirectOutput procedure with a 16 bit app. First it didn't work, but using CMD as middle process it does,...
cmd /c the16bitapp
Another way would be
cmd /c the16bitapp >> temp.txt
Greetings
Thanks for the reply, I couldn't get that to work and ended up just using ReadProcessMemory.