Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capturing output stream from console app
#6
It is in new QM versions. If you don't have it, remove code that uses __DisableFsRedirection .

Replace
Code:
Copy      Help
;g1
__DisableFsRedirection dfsr; if(flags&0x4000) dfsr.Disable

if(!CreateProcessW(0 @s1 0 0 1 CREATE_NEW_CONSOLE 0 @s2 &si &pi))
,if(flags&0x4000=0 and GetLastError=ERROR_FILE_NOT_FOUND and _win64) flags|0x4000; goto g1
,end "" 16


with
Code:
Copy      Help
if(!CreateProcessW(0 @s1 0 0 1 CREATE_NEW_CONSOLE 0 @s2 &si &pi)) end "" 16


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)